diff options
Diffstat (limited to 'core/Profiler.php')
-rw-r--r-- | core/Profiler.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Profiler.php b/core/Profiler.php index 2b92583d89..45af8df6fa 100644 --- a/core/Profiler.php +++ b/core/Profiler.php @@ -9,6 +9,7 @@ namespace Piwik; use Exception; +use Piwik\Container\StaticContainer; use XHProfRuns_Default; /** @@ -337,6 +338,6 @@ class Profiler */ private static function getPathToXHProfRunIds() { - return PIWIK_INCLUDE_PATH . '/tmp/cache/tests-xhprof-runs'; + return StaticContainer::getContainer()->get('path.tmp') . '/cache/tests-xhprof-runs'; } } |