mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-13401 fixed REQUEST_URI test; merged from MOODLE_19_STABLE
This commit is contained in:
parent
51f7c052c2
commit
864dad5795
@ -6,7 +6,7 @@
|
||||
//
|
||||
// hack by Vangelis Haniotakis to handle the absence of $_SERVER['REQUEST_URI'] in IIS
|
||||
//
|
||||
if (!$_SERVER['REQUEST_URI']) {
|
||||
if (!isset($_SERVER['REQUEST_URI'])) {
|
||||
$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING'];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user