2017-06-04 21:08:31 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
HTML::title(array('title'=>$L->g('Developers'), 'icon'=>'support'));
|
|
|
|
|
2017-06-09 20:30:13 +02:00
|
|
|
echo '<h2>PHP version: '.phpversion().'</h2>';
|
|
|
|
|
2017-10-07 16:58:24 +02:00
|
|
|
// PHP Ini
|
|
|
|
$uploadOptions = array(
|
|
|
|
'upload_max_filesize'=>ini_get('upload_max_filesize'),
|
|
|
|
'post_max_size'=>ini_get('post_max_size'),
|
|
|
|
'upload_tmp_dir'=>ini_get('upload_tmp_dir')
|
|
|
|
);
|
|
|
|
printTable('File Uploads', $uploadOptions);
|
|
|
|
|
2017-09-22 23:11:08 +02:00
|
|
|
// Loaded extensions
|
2017-10-07 16:58:24 +02:00
|
|
|
printTable('Server information ( $_SERVER )', $_SERVER);
|
2017-09-22 23:11:08 +02:00
|
|
|
|
2017-10-07 16:58:24 +02:00
|
|
|
// PHP Ini
|
|
|
|
printTable('PHP Configuration options ( ini_get_all() )', ini_get_all());
|
2017-06-09 20:30:13 +02:00
|
|
|
|
|
|
|
// Loaded extensions
|
|
|
|
printTable('Loaded extensions',get_loaded_extensions());
|
2017-06-04 21:08:31 +02:00
|
|
|
|
2017-09-03 23:29:09 +02:00
|
|
|
// Locales installed
|
|
|
|
exec('locale -a', $locales);
|
2017-09-22 23:11:08 +02:00
|
|
|
printTable('Locales installed', $locales);
|
2017-10-07 16:58:24 +02:00
|
|
|
|
|
|
|
echo '<hr>';
|
|
|
|
echo '<h2>BLUDIT</h2>';
|
|
|
|
echo '<hr>';
|
|
|
|
|
|
|
|
// Constanst defined by Bludit
|
|
|
|
$constants = get_defined_constants(true);
|
|
|
|
printTable('Bludit Constants', $constants['user']);
|
|
|
|
|
|
|
|
// Site object
|
|
|
|
printTable('$Site object database',$Site->db);
|
|
|
|
|