[-] Installer: force magic_quote_runtime to 0
This commit is contained in:
@@ -67,6 +67,9 @@ require_once(_PS_INSTALL_PATH_.'classes/simplexml.php');
|
|||||||
if (!@ini_get('date.timezone'))
|
if (!@ini_get('date.timezone'))
|
||||||
@date_default_timezone_set('UTC');
|
@date_default_timezone_set('UTC');
|
||||||
|
|
||||||
|
// Some hosting still have magic_quotes_runtime configured
|
||||||
|
ini_set('magic_quotes_runtime', 0);
|
||||||
|
|
||||||
// Try to improve memory limit if it's under 32M
|
// Try to improve memory limit if it's under 32M
|
||||||
if (psinstall_get_memory_limit() < psinstall_get_octets('32M'))
|
if (psinstall_get_memory_limit() < psinstall_get_octets('32M'))
|
||||||
ini_set('memory_limit', '32M');
|
ini_set('memory_limit', '32M');
|
||||||
|
|||||||
Reference in New Issue
Block a user