Commit graph

10 commits

Author SHA1 Message Date
Brion Vibber
266d41f165 * Added wfDie() wrapper, and some manual die(-1), to force the return code
to the shell to return nonzero when we crap out with an error.
2006-01-14 02:49:43 +00:00
Ævar Arnfjörð Bjarmason
7bbe971aec * s~ +$~~ 2006-01-07 13:09:30 +00:00
Tim Starling
239ba39261 workaround for any current or future exploit of the $GLOBALS overwrite vulnerability 2005-10-31 21:14:07 +00:00
Tim Starling
9411d91b49 Optional thumbnail generation by client request, using thumb.php. This removes any need for access to image files on page view. Experimental, some aspects still haven't been tested. 2005-04-16 04:33:34 +00:00
Brion Vibber
b090ca3fd5 * (bug 1642) fix a mime type typo in img_auth.php 2005-03-07 06:34:46 +00:00
Antoine Musso
773f135ab1 * phpdoc for file description
* single quotes
2005-01-27 04:30:18 +00:00
Brion Vibber
53856406a6 Clean up a few scriptlets 2004-10-14 02:13:12 +00:00
Tim Starling
cd2e8170d2 Ahh, so that's what that does 2004-08-12 06:54:58 +00:00
Tim Starling
24babf696a Output actual content with the error message, better usage of $wgWhitelistRead, explanation of how to use 2004-06-10 11:52:04 +00:00
Tim Starling
0655c03974 Script to allow MediaWiki-based authentication for downloading items from the upload directory. To use, deny access to the actual directory, and set $wgUploadPath to this script. Image URLs will be of the form "http://server.com/wiki/img_auth.php/0/00/Image.png". The script checks the cookies and the session data, and if everything is OK, streams out the named file. 2004-06-07 06:57:53 +00:00