From 423a416752053c6c668f53588ebaabf15adac3bd Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Fri, 28 Nov 2014 11:08:47 +1300 Subject: Fixed xhprof profiler config --- core/Profiler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/Profiler.php') 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 .= "$baseUrl"; $out .= "\n\n"; echo $out; -- cgit v1.2.3