| 113 |
echo '<tr>'; |
echo '<tr>'; |
| 114 |
echo '<td class="item">' . $folder . '/</td>'; |
echo '<td class="item">' . $folder . '/</td>'; |
| 115 |
echo '<td align="left">'; |
echo '<td align="left">'; |
| 116 |
echo is_writable( "../$folder" ) ? '<b><span class="green">'.T_('Writeable').'</span></b>' : '<b><span class="red">'.T_('Unwriteable').'</span></b>' . '</td>'; |
echo is_writable( "../$folder" ) ? '<strong><span class="green">'.T_('Writeable').'</span></strong>' : '<strong><span class="red">'.T_('Unwriteable').'</span></strong>' . '</td>'; |
| 117 |
echo '</tr>'; |
echo '</tr>'; |
| 118 |
} |
} |
| 119 |
|
|
| 246 |
<?php echo T_('PHP version') ?> >= 4.3.0 |
<?php echo T_('PHP version') ?> >= 4.3.0 |
| 247 |
</td> |
</td> |
| 248 |
<td align="left"> |
<td align="left"> |
| 249 |
<?php echo phpversion() < '4.3' ? '<b><span class="red">'.T_('No').'</span></b>' : '<b><span class="green">'.T_('Yes').'</span></b>';?> |
<?php echo phpversion() < '4.3' ? '<strong><span class="red">'.T_('No').'</span></strong>' : '<strong><span class="green">'.T_('Yes').'</span></strong>';?> |
| 250 |
</td> |
</td> |
| 251 |
</tr> |
</tr> |
| 252 |
<tr> |
<tr> |
| 254 |
- <?php echo T_('zlib compression support') ?> |
- <?php echo T_('zlib compression support') ?> |
| 255 |
</td> |
</td> |
| 256 |
<td align="left"> |
<td align="left"> |
| 257 |
<?php echo extension_loaded('zlib') ? '<b><span class="green">'.T_('Available').'</span></b>' : '<b><span class="red">'.T_('Unavailable').'</span></b>';?> |
<?php echo extension_loaded('zlib') ? '<strong><span class="green">'.T_('Available').'</span></strong>' : '<strong><span class="red">'.T_('Unavailable').'</span></strong>';?> |
| 258 |
</td> |
</td> |
| 259 |
</tr> |
</tr> |
| 260 |
<tr> |
<tr> |
| 262 |
- <?php echo T_('XML support') ?> |
- <?php echo T_('XML support') ?> |
| 263 |
</td> |
</td> |
| 264 |
<td align="left"> |
<td align="left"> |
| 265 |
<?php echo extension_loaded('xml') ? '<b><span class="green">'.T_('Available').'</span></b>' : '<b><span class="red">'.T_('Unavailable').'</span></b>';?> |
<?php echo extension_loaded('xml') ? '<strong><span class="green">'.T_('Available').'</span></strong>' : '<strong><span class="red">'.T_('Unavailable').'</span></strong>';?> |
| 266 |
</td> |
</td> |
| 267 |
</tr> |
</tr> |
| 268 |
<tr> |
<tr> |
| 270 |
- <?php echo T_('MySQL support') ?> |
- <?php echo T_('MySQL support') ?> |
| 271 |
</td> |
</td> |
| 272 |
<td align="left"> |
<td align="left"> |
| 273 |
<?php echo function_exists( 'mysql_connect' ) ? '<b><span class="green">'.T_('Available').'</span></b>' : '<b><span class="red">'.T_('Unavailable').'</span></b>';?> |
<?php echo function_exists( 'mysql_connect' ) ? '<strong><span class="green">'.T_('Available').'</span></strong>' : '<strong><span class="red">'.T_('Unavailable').'</span></strong>';?> |
| 274 |
</td> |
</td> |
| 275 |
</tr> |
</tr> |
| 276 |
<tr> |
<tr> |
| 288 |
<td align="left"> |
<td align="left"> |
| 289 |
<?php |
<?php |
| 290 |
if (@file_exists('../configuration.php') && @is_writable( '../configuration.php' )){ |
if (@file_exists('../configuration.php') && @is_writable( '../configuration.php' )){ |
| 291 |
echo '<b><span class="green">'.T_('Writeable').'</span></b>'; |
echo '<strong><span class="green">'.T_('Writeable').'</span></strong>'; |
| 292 |
} else if (is_writable( '..' )) { |
} else if (is_writable( '..' )) { |
| 293 |
echo '<b><span class="green">'.T_('Writeable').'</span></b>'; |
echo '<strong><span class="green">'.T_('Writeable').'</span></strong>'; |
| 294 |
} else { |
} else { |
| 295 |
echo '<b><span class="red">'.T_('Unwriteable').'</span></b><br /><span class="small">'.T_('You can still continue the install as the configuration will be displayed at the end, just copy & paste this and upload.').'</span>'; |
echo '<strong><span class="red">'.T_('Unwriteable').'</span></strong><br /><span class="small">'.T_('You can still continue the install as the configuration will be displayed at the end, just copy & paste this and upload.').'</span>'; |
| 296 |
} ?> |
} ?> |
| 297 |
</td> |
</td> |
| 298 |
</tr> |
</tr> |
| 301 |
<?php echo T_('Session save path') ?> |
<?php echo T_('Session save path') ?> |
| 302 |
</td> |
</td> |
| 303 |
<td align="left"> |
<td align="left"> |
| 304 |
<b><?php echo (($sp=ini_get('session.save_path'))?$sp:'Not set'); ?></b>, |
<strong><?php echo (($sp=ini_get('session.save_path'))?$sp:'Not set'); ?></strong>, |
| 305 |
<?php echo is_writable( $sp ) ? '<b><span class="green">'.T_('Writeable').'</span></b>' : '<b><span class="red">'.T_('Unwriteable').'</span></b>';?> |
<?php echo is_writable( $sp ) ? '<strong><span class="green">'.T_('Writeable').'</span></strong>' : '<strong><span class="red">'.T_('Unwriteable').'</span></strong>';?> |
| 306 |
</td> |
</td> |
| 307 |
</tr> |
</tr> |
| 308 |
</table> |
</table> |
| 355 |
<?php |
<?php |
| 356 |
if ( get_php_setting($phprec[1]) == $phprec[2] ) { |
if ( get_php_setting($phprec[1]) == $phprec[2] ) { |
| 357 |
?> |
?> |
| 358 |
<span class="green"><b> |
<span class="green"><strong> |
| 359 |
<?php |
<?php |
| 360 |
} else { |
} else { |
| 361 |
?> |
?> |
| 362 |
<span class="red"><b> |
<span class="red"><strong> |
| 363 |
<?php |
<?php |
| 364 |
} |
} |
| 365 |
echo get_php_setting($phprec[1]); |
echo get_php_setting($phprec[1]); |
| 366 |
?> |
?> |
| 367 |
</b></span> |
</strong></span> |
| 368 |
<td> |
<td> |
| 369 |
</tr> |
</tr> |
| 370 |
<?php |
<?php |
| 403 |
<td align="left"> |
<td align="left"> |
| 404 |
<?php |
<?php |
| 405 |
if (@file_exists('../installation/langconfig.php') && @is_writable( '../installation/langconfig.php' )){ |
if (@file_exists('../installation/langconfig.php') && @is_writable( '../installation/langconfig.php' )){ |
| 406 |
echo '<b><span class="green">'.T_('Writeable').'</span></b>'; |
echo '<strong><span class="green">'.T_('Writeable').'</span></strong>'; |
| 407 |
} else if (is_writable( '..' )) { |
} else if (is_writable( '..' )) { |
| 408 |
echo '<b><span class="green">'.T_('Writeable').'</span></b>'; |
echo '<strong><span class="green">'.T_('Writeable').'</span></strong>'; |
| 409 |
} else { |
} else { |
| 410 |
echo '<b><span class="red">'.T_('Unwriteable').'</span></b>'; |
echo '<strong><span class="red">'.T_('Unwriteable').'</span></strong>'; |
| 411 |
} ?> |
} ?> |
| 412 |
</td> |
</td> |
| 413 |
</tr> |
</tr> |