bludit/bl-kernel/admin/views/developers.php

39 lines
969 B
PHP
Raw Normal View History

<?php
echo Bootstrap::pageTitle(array('title'=>$L->g('Developers'), 'icon'=>'beaker'));
echo '<h2 class="mb-4 mt-4"><b>PHP version: '.phpversion().'</b></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());
// Loaded extensions
printTable('Loaded extensions',get_loaded_extensions());
// 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);