// Added informations to AdminInformation tab (memory limit and max execution time)
This commit is contained in:
@@ -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_,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user