diff options
author | Matthieu Aubry <matt@piwik.org> | 2014-12-02 03:34:25 +0300 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2014-12-02 03:34:25 +0300 |
commit | a0d3bf94837642edafda458546497d703843854b (patch) | |
tree | ae558a78dc7488c3fc229889ac403ba757dce3e6 /core/Profiler.php | |
parent | 03165a76526de6b537f64c5953e927b50a0ab18a (diff) | |
parent | 4a2145a1a7fd21cefb7d79e83f3416027c251c0a (diff) |
Merge pull request #6658 from piwik/tmp-path
Moved the `tmp/` path into the config (was hardcoded everywhere)
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 5a9d0ac68f..cb68432725 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'; } } |