From 2a0f66b4f26c4cfdae7ff967ecafedf3efa4f82a Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 16 Apr 2005 17:02:05 +0000 Subject: [PATCH] Fix bug in performance_info on IIS http://moodle.org/mod/forum/discuss.php?d=22013 --- lib/moodlelib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 0e45365ca00..c20d27c3d70 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -5826,8 +5826,8 @@ function get_performance_info() { global $CFG, $PERF; $info = array(); - $info['html'] = ''.$_SERVER['REQUEST_URI'].' '; // holds userfriendly HTML representation - $info['txt'] = $_SERVER['REQUEST_URI'] . ' '; // holds log-friendly representation + $info['html'] = ''; // holds userfriendly HTML representation + $info['txt'] = me() . ' '; // holds log-friendly representation $info['realtime'] = microtime_diff($PERF->starttime, microtime());