Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2011-04-24 22:58:01 +0400
committerrobocoder <anthon.pang@gmail.com>2011-04-24 22:58:01 +0400
commit0e7b094205d45751563fd401c0d86f1acdca2351 (patch)
tree7ea60196ea569166d11bc6db5188ae8c64d999a8 /piwik.php
parent5002f17a346ffd895524ed0713731794ed7c88e9 (diff)
refs #2341 - disable magic_quotes_runtime for consistency with index.php; plus, it's deprecated in php 5.3 and buggy with MYSQLI (http://bugs.php.net/52221)
git-svn-id: http://dev.piwik.org/svn/trunk@4544 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/piwik.php b/piwik.php
index 4769db3f02..d14fc7015a 100644
--- a/piwik.php
+++ b/piwik.php
@@ -19,6 +19,7 @@ if(file_exists('bootstrap.php'))
$GLOBALS['PIWIK_TRACKER_MODE'] = true;
error_reporting(E_ALL|E_NOTICE);
@ini_set('xdebug.show_exception_trace', 0);
+@ini_set('magic_quotes_runtime', 0);
define('PIWIK_DOCUMENT_ROOT', dirname(__FILE__)=='/'?'':dirname(__FILE__));
if(!defined('PIWIK_USER_PATH'))