// Fix installer when safe_mode is enabled

This commit is contained in:
Rémi Gaillard committed 2013-03-21 10:56:26 +01:00
1 parent cf8a621332
commit f504b3c594
2 files changed
+11 -1

No files matched your search

+7
View File
@@ -1956,6 +1956,13 @@ exit;
}
}
public static function getSafeModeStatus()
{
if (!$safe_mode = @ini_get('safe_mode'))
$safe_mode = '';
return in_array(Tools::strtolower($safe_mode), array(1, 'on'));
}
/**
* @desc extract a zip file to the given directory
* @return bool success