[-] BO : ini_get('safe_mode') can return false

This commit is contained in:
gRoussac
2013-09-08 22:26:21 +02:00
parent ec556bb307
commit 6b03af9ef9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -650,7 +650,7 @@ class ImageCore extends ObjectModel
*/
public static function testFileSystem()
{
$safe_mode = ini_get('safe_mode');
$safe_mode = Tools::getSafeModeStatus();
if ($safe_mode)
return false;
$folder1 = _PS_PROD_IMG_DIR_.'testfilesystem/';