Revision 1149
Added by aldus about 15 years ago
index.php | ||
---|---|---|
137 | 137 |
</tr> |
138 | 138 |
<?php } ?> |
139 | 139 |
<tr> |
140 |
<td width="160" style="color: #666666;">PHP Version > 4.1.0</td>
|
|
140 |
<td width="160" style="color: #666666;">PHP Version > 5.1.0</td>
|
|
141 | 141 |
<td width="60"> |
142 | 142 |
<?php |
143 |
$phpversion = substr(PHP_VERSION, 0, 6); |
|
144 |
if($phpversion > 4.1) { |
|
145 |
?><font class="good">Yes</font><?php |
|
146 |
} else { |
|
147 |
?><font class="bad">No</font><?php |
|
148 |
} |
|
149 |
?> |
|
143 |
echo ( true === version_compare( PHP_VERSION, "5.1", ">") ) |
|
144 |
? "<font class=\"good\">Yes</font>" |
|
145 |
: "<font class=\"bad\">No</font>" ; |
|
146 |
?> |
|
150 | 147 |
</td> |
151 | 148 |
<td width="140" style="color: #666666;">PHP Session Support</td> |
152 | 149 |
<td width="105"><?php echo $session_support; ?></td> |
... | ... | |
186 | 183 |
</tr> |
187 | 184 |
<tr> |
188 | 185 |
<td style="color: #666666;">wb/config.php</td> |
189 |
<td><?php if(is_writable('../config.php')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../config.php')) { echo '<font class="bad">File Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td>
|
|
186 |
<td><!--<?php if(is_writable('../config.php')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../config.php')) { echo '<font class="bad">File Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?>--></td>
|
|
190 | 187 |
<td style="color: #666666;">wb/pages/</td> |
191 | 188 |
<td><?php if(is_writable('../pages/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../pages/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
192 | 189 |
<td style="color: #666666;">wb/media/</td> |
Also available in: Unified diff
Modifications inside class.database.
Remove the empty config.php
Update index.php and save.php