diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-28 01:08:47 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-28 01:09:31 +0300 |
commit | 423a416752053c6c668f53588ebaabf15adac3bd (patch) | |
tree | ea185e94c996a9a2c75d5173a2f0b2fa527931b8 /core | |
parent | 0a10d2bafeb1d27d2c1a88e58d2c2e6040d1bf62 (diff) |
Fixed xhprof profiler config
Diffstat (limited to 'core')
-rw-r--r-- | core/Profiler.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Profiler.php b/core/Profiler.php index 2b92583d89..5a9d0ac68f 100644 --- a/core/Profiler.php +++ b/core/Profiler.php @@ -235,7 +235,7 @@ class Profiler $currentGitBranch = SettingsPiwik::getCurrentGitBranch(); $profilerNamespace = "piwik"; if ($currentGitBranch != 'master') { - $profilerNamespace .= "." . $currentGitBranch; + $profilerNamespace .= "-" . $currentGitBranch; } xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY); @@ -270,7 +270,7 @@ class Profiler $baseUrl = $baseUrlStored . "vendor/facebook/xhprof/xhprof_html/?source=$profilerNamespace&run=$runId"; $out .= "Profiler report is available at:\n"; - $out .= $baseUrl; + $out .= "<a href='$baseUrl'>$baseUrl</a>"; $out .= "\n\n"; echo $out; |