Permalink
Browse files

Fix bug in performance_info on IIS http://moodle.org/mod/forum/discus…

  • Loading branch information...
1 parent bfae4bf commit 2a0f66b4f26c4cfdae7ff967ecafedf3efa4f82a moodler committed Apr 16, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moodlelib.php
View
@@ -5826,8 +5826,8 @@ function get_performance_info() {
global $CFG, $PERF;
$info = array();
- $info['html'] = '<span class="script">'.$_SERVER['REQUEST_URI'].'</span> '; // 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());

0 comments on commit 2a0f66b

Please sign in to comment.