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:
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/index.php b/index.php
index b0f5ec203a..f648f67c6c 100644
--- a/index.php
+++ b/index.php
@@ -15,10 +15,7 @@ if(file_exists('bootstrap.php'))
}
error_reporting(E_ALL|E_NOTICE);
-if(!defined('PIWIK_DISPLAY_ERRORS') || PIWIK_DISPLAY_ERRORS)
-{
- @ini_set('display_errors', 1);
-}
+@ini_set('display_errors', (!defined('PIWIK_DISPLAY_ERRORS') || PIWIK_DISPLAY_ERRORS) ? 1 : 0);
@ini_set('xdebug.show_exception_trace', 0);
@ini_set('magic_quotes_runtime', 0);