diff options
Diffstat (limited to 'core/Profiler.php')
-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 45af8df6fa..cb68432725 100644 --- a/core/Profiler.php +++ b/core/Profiler.php @@ -236,7 +236,7 @@ class Profiler $currentGitBranch = SettingsPiwik::getCurrentGitBranch(); $profilerNamespace = "piwik"; if ($currentGitBranch != 'master') { - $profilerNamespace .= "." . $currentGitBranch; + $profilerNamespace .= "-" . $currentGitBranch; } xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY); @@ -271,7 +271,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; |