// Added informations to AdminInformation tab (memory limit and max execution time)

This commit is contained in:
dMetzger
2012-08-13 15:19:37 +00:00
parent 9693d5bcd2
commit f536990fba
2 changed files with 13 additions and 7 deletions
@@ -38,8 +38,9 @@ class AdminInformationControllerCore extends AdminController
$this->tpl_view_vars = array(
'version' => array(
'php' => phpversion(),
'ps' => _PS_VERSION_,
'server' => $_SERVER['SERVER_SOFTWARE'],
'memory_limit' => ini_get('memory_limit'),
'max_execution_time' => ini_get('max_execution_time')
),
'database' => array(
'version' => Db::getInstance()->getVersion(),
@@ -49,6 +50,7 @@ class AdminInformationControllerCore extends AdminController
'uname' => function_exists('php_uname') ? php_uname('s').' '.php_uname('v').' '.php_uname('m') : '',
'apache_instaweb' => Tools::apacheModExists('mod_instaweb'),
'shop' => array(
'ps' => _PS_VERSION_,
'url' => Tools::getHttpHost(true).__PS_BASE_URI__,
'theme' => _THEME_NAME_,
),