aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Profiler.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@users.mediawiki.org>2007-01-02 23:50:56 +0000
committerBrion Vibber <brion@users.mediawiki.org>2007-01-02 23:50:56 +0000
commit1a6a78a0aa8fba750e48663f7897f4e9dacf6cfa (patch)
treec2342de35e1683cf0a3e38abdea1999ddb2e32d4 /includes/Profiler.php
parentceb9b863594a74b81b4907e6dace10bafc319891 (diff)
downloadmediawikicore-1a6a78a0aa8fba750e48663f7897f4e9dacf6cfa.tar.gz
mediawikicore-1a6a78a0aa8fba750e48663f7897f4e9dacf6cfa.zip
* (bug 8041) Work around bug with debug_backtrace when Zend Optimizer is
loaded by skipping the function. Use wfDebugBacktrace() wrapper function.
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/18774
Diffstat (limited to 'includes/Profiler.php')
-rw-r--r--includes/Profiler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Profiler.php b/includes/Profiler.php
index b15f1c3d3c69..30cda63f6c6b 100644
--- a/includes/Profiler.php
+++ b/includes/Profiler.php
@@ -349,7 +349,7 @@ class Profiler {
}
static function getCaller( $level ) {
- $backtrace = debug_backtrace();
+ $backtrace = wfDebugBacktrace();
if ( isset( $backtrace[$level] ) ) {
if ( isset( $backtrace[$level]['class'] ) ) {
$caller = $backtrace[$level]['class'] . '::' . $backtrace[$level]['function'];