mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Fix bug in performance_info on IIS http://moodle.org/mod/forum/discuss.php?d=22013
This commit is contained in:
parent
bfae4bf90d
commit
2a0f66b4f2
@ -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());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user