From aa7e198f3c5fdc51ca7b86cabd7cc73c9c9d8f67 Mon Sep 17 00:00:00 2001 From: RainLoop Team Date: Mon, 7 Jul 2014 16:39:20 +0400 Subject: [PATCH] Setup default php settings --- rainloop/v/0.0.0/index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rainloop/v/0.0.0/index.php b/rainloop/v/0.0.0/index.php index 826a2d860..5d7e49a7c 100644 --- a/rainloop/v/0.0.0/index.php +++ b/rainloop/v/0.0.0/index.php @@ -2,6 +2,11 @@ if (defined('APP_VERSION')) { + @ini_set('register_globals', 0); + @ini_set('zend.ze1_compatibility_mode', 0); + @ini_set('magic_quotes_gpc', 0); + @ini_set('magic_quotes_runtime', 0); + if (isset($_ENV['RAINLOOP_INCLUDE_AS_VERSION']) && $_ENV['RAINLOOP_INCLUDE_AS_VERSION']) { $_ENV['RAINLOOP_INCLUDE_AS_VERSION'] = false;