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

39 lines
968 B
PHP
Raw Normal View History

<?php
2019-05-18 11:54:39 +02:00
echo Bootstrap::pageTitle(array('title'=>$L->g('Developers'), 'icon'=>'gears'));
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
2020-02-08 19:20:44 +01:00
printTable('$site object database',$site->db);
2017-10-07 16:58:24 +02:00