I propose this overly simple solution. I can't think of a potential problem with it, but then I haven't slept much this week...
Code
$PNConfig['System']['PN_OVERRIDE_PATHINFO_FIX'] = 0; // 0 - Default 1 - Override php.ini setting to fix short urls
And then at the beginning of index.php (or possibly somewhere more appropriate), put something like this...
Code
if ($PNConfig['System']['PN_OVERRIDE_PATHINFO_FIX'] != 0) {
$_SERVER['PATH_TRANSLATED'] = $_SERVER['SCRIPT_FILENAME'];
}
$_SERVER['PATH_TRANSLATED'] = $_SERVER['SCRIPT_FILENAME'];
}
I tested it for fun and it all seems to work swimmingly.
Any thoughts?
--
Help Now! Fast and affordable help for do-it-yourself webmasters from Wicked Viral :: Chicago's Only Web Development Firm Specializing in Social Networking Integration
