diff options
author | robocoder <anthon.pang@gmail.com> | 2012-03-06 07:10:14 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2012-03-06 07:10:14 +0400 |
commit | c39e32144bb2b6e53145e85aac283e10e0595080 (patch) | |
tree | 2cb048113ec7529e73bc3b4e0db8c6fc62c8b857 | |
parent | 0d2d3283a97e9477173fd91b195b8eb3c00bd79e (diff) |
fixes #3009 - display_errors now defaults to disabled; leaving PhpSecInfo "as is" because ini_set("display_errors", "stderr") is still leaky
git-svn-id: http://dev.piwik.org/svn/trunk@5974 59fd770c-687e-43c8-a1e3-f5a4ff64c105
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -16,6 +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('xdebug.show_exception_trace', 0); @ini_set('magic_quotes_runtime', 0); |