Skip to content
Extraits de code Groupes Projets
Valider a54e4f02 rédigé par mattab's avatar mattab
Parcourir les fichiers

Somehow xhprof_error not defined on my box

parent 944cd964
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -195,11 +195,19 @@ class Profiler
}
$path = PIWIK_INCLUDE_PATH . '/tests/lib/xhprof-0.9.4/xhprof_lib/utils/xhprof_runs.php';
if(!file_exists($path)) {
return;
}
require_once $path;
require_once PIWIK_INCLUDE_PATH . '/tests/lib/xhprof-0.9.4/xhprof_lib/utils/xhprof_lib.php';
if(!function_exists('xhprof_error')) {
function xhprof_error($out) {
echo substr($out, 0, 300) . '...';
}
}
$currentGitBranch = SettingsPiwik::getCurrentGitBranch();
$profilerNamespace = "piwik";
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter