Cleanup for r41713 PHP 4 warning page:
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 7 Oct 2008 01:10:32 +0000 (01:10 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 7 Oct 2008 01:10:32 +0000 (01:10 +0000)
commit3440234618097063f936dfa6fd5dc196dda7c880
tree3eaab69f5f3c9ec8b9ff37497e71faca2deb6bc6
parent86055bdfa4fc7ba1016abc0ffbb20cafbf98436f
Cleanup for r41713 PHP 4 warning page:
* Avoid register_globals XSS vulns hitting the template directly
* Avoid register_globals XSS vulns when using funny URLs
* Avoid horrible links when using funny URLs :)
* Swapped REQUEST_URI for SCRIPT_NAME as primary in path check, since SCRIPT_NAME doesn't include the PATH_INFO bits so will work when hitting a URL like index.php/Foo/Bar, or hopefully a rewrite?
* Don't spew errors if the file_get_contents() fails
* Don't FATAL out if file_get_contents() doesn't exist -- new in 4.3.0 :)
* Add a link to PHP download page
includes/templates/PHP4.php