Fix PHP notice on COnfiguration Information page at back office
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
<i class="icon-info"></i>
|
||||
{l s='Server information'}
|
||||
</h3>
|
||||
{if count($uname)}
|
||||
{if Tools::strlen($uname) > 0}
|
||||
<p>
|
||||
<strong>{l s='Server information:'}</strong> {$uname|escape:'html':'UTF-8'}
|
||||
</p>
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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.'),
|
||||
);
|
||||
|
||||
|
||||
@@ -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'),
|
||||
)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user