diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -40,7 +40,9 @@ require_once PIWIK_INCLUDE_PATH . '/vendor/autoload.php'; require_once PIWIK_INCLUDE_PATH . '/core/Loader.php'; require_once PIWIK_INCLUDE_PATH . '/core/functions.php'; -define('PIWIK_PRINT_ERROR_BACKTRACE', false); +if(!defined('PIWIK_PRINT_ERROR_BACKTRACE')) { + define('PIWIK_PRINT_ERROR_BACKTRACE', false); +} if (!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER) { require_once PIWIK_INCLUDE_PATH . '/core/Error.php'; |