diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2012-03-20 10:23:29 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2012-03-20 10:23:29 +0400 |
commit | c8a09034489518c47413e8d5716b1a45721703e4 (patch) | |
tree | 59926fe9a9e1ea247b0bbe6a486c56ff88868a30 | |
parent | 53afad1b6d8968d4c6428843cae5baf258993297 (diff) |
refs #3030 Honour php.ini setting.
The fact that errors are displayed is one of the key factors that help us troubleshoot users, losing error and NOTICES messages would be a lot more support pain...
we still recommend power users to set it to off: http://piwik.org/security/how-to-secure-piwik/
git-svn-id: http://dev.piwik.org/svn/trunk@6068 59fd770c-687e-43c8-a1e3-f5a4ff64c105
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ if(file_exists(PIWIK_DOCUMENT_ROOT . '/bootstrap.php')) } error_reporting(E_ALL|E_NOTICE); -@ini_set('display_errors', (defined('PIWIK_DISPLAY_ERRORS') ? PIWIK_DISPLAY_ERRORS : 0)); +@ini_set('display_errors', defined('PIWIK_DISPLAY_ERRORS') ? PIWIK_DISPLAY_ERRORS : @ini_get('display_errors')); @ini_set('xdebug.show_exception_trace', 0); @ini_set('magic_quotes_runtime', 0); |