diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-05-04 12:42:47 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-05-04 12:42:47 +0400 |
commit | 6aed2de7f8ef73931794b48837c20f3d98ff72c6 (patch) | |
tree | 4b400801a1c467c00c04e52e89329e10a4b1403b /tests/PHPUnit/proxy | |
parent | 19fce0996d3f742d7bfbc85a661b2bba53627910 (diff) |
Debugging install tests
Diffstat (limited to 'tests/PHPUnit/proxy')
-rw-r--r-- | tests/PHPUnit/proxy/index.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/PHPUnit/proxy/index.php b/tests/PHPUnit/proxy/index.php index 4494ca0e0f..7f5efa666f 100644 --- a/tests/PHPUnit/proxy/index.php +++ b/tests/PHPUnit/proxy/index.php @@ -10,6 +10,9 @@ Piwik_TestingEnvironment::addHooks(); if (\Piwik\DbHelper::isInstalled()) { \Piwik\ViewDataTable\Manager::clearAllViewDataTableParameters(); +} else { + // Not installed yet, display backtrace when error + define('PIWIK_PRINT_ERROR_BACKTRACE', true); } \Piwik\Profiler::setupProfilerXHProf(); |