Code: Select all
Notice: Undefined index: REQUEST_URI in C:\Web Application Folders\_testing\imani\stylesheet.php on line 4
The CMS file: index.php already handles this by checking for, and then setting REQUEST_URI manually. I have managed to fix this problem by just including the same code at the start of stylesheet.php.
Code: Select all
if (!isset($_SERVER['REQUEST_URI']) && isset($_SERVER['QUERY_STRING']))
{
$_SERVER['REQUEST_URI'] = $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'];
}