diff --git a/admin/themes/default/template/controllers/information/helpers/view/view.tpl b/admin/themes/default/template/controllers/information/helpers/view/view.tpl index d142e68a6..463806b60 100644 --- a/admin/themes/default/template/controllers/information/helpers/view/view.tpl +++ b/admin/themes/default/template/controllers/information/helpers/view/view.tpl @@ -84,7 +84,7 @@ {l s='Server information'} - {if count($uname)} + {if Tools::strlen($uname) > 0}

{l s='Server information:'} {$uname|escape:'html':'UTF-8'}

diff --git a/classes/ConfigurationTest.php b/classes/ConfigurationTest.php index 60628b646..98bdaeb44 100644 --- a/classes/ConfigurationTest.php +++ b/classes/ConfigurationTest.php @@ -115,7 +115,6 @@ class ConfigurationTestCore 'register_globals' => false, 'gz' => false, 'mbstring' => false, - 'magicquotes' => false, 'dom' => false, ); } @@ -181,11 +180,6 @@ class ConfigurationTestCore return extension_loaded('simplexml'); } - public static function test_magicquotes() - { - return function_exists('get_magic_quotes_gpc') ? !get_magic_quotes_gpc() : true; - } - public static function test_upload() { return ini_get('file_uploads'); diff --git a/controllers/admin/AdminInformationController.php b/controllers/admin/AdminInformationController.php index e21e398c1..0dba7d135 100644 --- a/controllers/admin/AdminInformationController.php +++ b/controllers/admin/AdminInformationController.php @@ -140,7 +140,6 @@ class AdminInformationControllerCore extends AdminController 'upload_max_filesize' => $this->l('In PHP configuration set upload_max_filesize to minimum 16M.'), 'max_execution_time' => $this->l('In PHP configuration set max_execution_time to minimum 500.'), 'mbstring' => $this->l('PHP Mbstring extension is not enabled.'), - 'magicquotes' => $this->l('PHP magic quotes option is enabled.'), 'dom' => $this->l('PHP DOM extension is not loaded.'), ); diff --git a/install/controllers/http/system.php b/install/controllers/http/system.php index 950f93247..98019b64e 100644 --- a/install/controllers/http/system.php +++ b/install/controllers/http/system.php @@ -137,7 +137,6 @@ class InstallControllerHttpSystem extends InstallControllerHttp 'register_globals' => $this->l('PHP register_globals option is enabled'), 'gz' => $this->l('GZIP compression is not activated'), 'mbstring' => $this->l('Mbstring extension is not enabled'), - 'magicquotes' => $this->l('PHP magic quotes option is enabled'), 'dom' => $this->l('Dom extension is not loaded'), ) ),