diff options
author | robocoder <anthon.pang@gmail.com> | 2011-04-24 22:58:01 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2011-04-24 22:58:01 +0400 |
commit | 0e7b094205d45751563fd401c0d86f1acdca2351 (patch) | |
tree | 7ea60196ea569166d11bc6db5188ae8c64d999a8 /piwik.php | |
parent | 5002f17a346ffd895524ed0713731794ed7c88e9 (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.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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')) |