Skip to content

Commit 6db9ee9

Browse files
committed
Merge branch 'master' of github.com:longxinH/xhprof
2 parents 299727a + e6117af commit 6db9ee9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

xhprof_lib/utils/xhprof_lib.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919
// Do not add any display specific code here.
2020
//
2121

22-
function xhprof_error($message) {
23-
error_log($message);
22+
if (!function_exists('xhprof_error')) {
23+
function xhprof_error($message) {
24+
error_log($message);
25+
}
2426
}
2527

2628
/*

0 commit comments

Comments
 (0)