index.php
1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<html>
<head>
<title>
Quercus™ Start Page
</title>
<!--
<?php
function quercus_test()
{
return function_exists("quercus_version");
}
?>
-->
<style type="text/css">
.message {
margin: 10px;
padding: 10px;
border: 1px solid blue;
background: #CCCCCC;
}
.footer {
font-size: small;
font-style: italic;
}
#failure {
<?php echo "display: none;"; ?>
}
#failure_default_interpreter {
display: none;
<?php if (! quercus_test()) echo "display: block;"; ?>
}
#success {
display: none;
<?php if (quercus_test()) echo "display: block;"; ?>
}
</style>
</head>
<body>
<a href="http://www.caucho.com"><img border="0" src="images/caucho-white.jpg"></a>
<p>
Testing for Quercus™...
</p>
<div class="message" id="failure">
PHP files are not being interpreted by Quercus™.
</div>
<div class="message" id="failure_default_interpreter">
PHP is being interpreted, but not by Quercus™! Please check your configuration.
</div>
<div class="message" id="success">
<img src="images/dragonfly-tiny.png">Congratulations! Quercus™ <?php if (quercus_test()) echo quercus_version(); ?> seems to be working fine. Have fun!
</div>
<div>
Documentation is available at <a href="http://quercus.caucho.com">http://quercus.caucho.com</a>
</div>
<div>
The README is available <a href="README">here</a>.
</div>
<hr/>
<div class="footer">
Copyright © 1998-2007
<a href="http://www.caucho.com">Caucho Technology, Inc</a>.
All rights reserved.<br/>
Resin <sup><font size="-1">®</font></sup> is a registered trademark,
and Quercus<sup>tm</sup>, Amber<sup>tm</sup>, and Hessian<sup>tm</sup>
are trademarks of Caucho Technology.
</div>
</body>
</html>