MDL-13401 fixed REQUEST_URI test

This commit is contained in:
skodak
2008-04-25 12:23:21 +00:00
parent daa4c6c53a
commit d1e867d052
+2 -2
View File
@@ -6,11 +6,11 @@
//
// 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'];
}
//
//1
// another one by Vangelis Haniotakis also to make phpCAS work with PHP5
//
if (version_compare(PHP_VERSION,'5','>=')) {