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>2012-03-06 07:10:14 +0400
committerrobocoder <anthon.pang@gmail.com>2012-03-06 07:10:14 +0400
commitc39e32144bb2b6e53145e85aac283e10e0595080 (patch)
tree2cb048113ec7529e73bc3b4e0db8c6fc62c8b857 /index.php
parent0d2d3283a97e9477173fd91b195b8eb3c00bd79e (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
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 485c8cf34e..bcc0f3d3eb 100644
--- a/index.php
+++ b/index.php
@@ -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);