diff --git a/core/Profiler.php b/core/Profiler.php index 2b92583d89d..5a9d0ac68f1 100644 --- a/core/Profiler.php +++ b/core/Profiler.php @@ -235,7 +235,7 @@ function xhprof_error($out) { $currentGitBranch = SettingsPiwik::getCurrentGitBranch(); $profilerNamespace = "piwik"; if ($currentGitBranch != 'master') { - $profilerNamespace .= "." . $currentGitBranch; + $profilerNamespace .= "-" . $currentGitBranch; } xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY); @@ -270,7 +270,7 @@ function xhprof_error($out) { $baseUrl = $baseUrlStored . "vendor/facebook/xhprof/xhprof_html/?source=$profilerNamespace&run=$runId"; $out .= "Profiler report is available at:\n"; - $out .= $baseUrl; + $out .= "$baseUrl"; $out .= "\n\n"; echo $out;