* Detect CGI configurations where PATH_INFO is set up correctly.
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 16 Nov 2006 22:57:58 +0000 (22:57 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 16 Nov 2006 22:57:58 +0000 (22:57 +0000)
commitaed615511178f53928f95993df9fae61a2c5a076
tree6f3f910bbbb19ebd208fca67212902dd22bdb6d2
parent3a0c45e93cf7cdcfadfd2545a497562968e023ee
* Detect CGI configurations where PATH_INFO is set up correctly.
  PHP config var cgi.fix_pathinfo isn't detectable through ini_get(), but
  we can find some side-effects. Only tested on lighttpd so far, hopefully
  right on Apache too!

lighty documentation says you have to use the "broken-scriptfilename" => "enable"
option on lighty fast-cgi config, plus set cgi.fix_pathinfo to make it work.
I've found that cgi.fix_pathinfo is on by default in current PHP (tested 5.2.0),
and I don't seem to have to change the defaults on lighty either.
RELEASE-NOTES
config/index.php
includes/DefaultSettings.php