X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=img_auth.php;h=2f7fb390506c0a764f3de9c68aecbf75137fdde6;hb=3b508f4e14b182a233a2ac5b8958cb1be8ab86f3;hp=b3a34955def2730b0fd70857bfcb9f04d7ec09cd;hpb=3c899bfc66218e8a65b45ad158e3dcb6081ac4e9;p=lhc%2Fweb%2Fwiklou.git diff --git a/img_auth.php b/img_auth.php index b3a34955de..2f7fb39050 100644 --- a/img_auth.php +++ b/img_auth.php @@ -48,7 +48,7 @@ if ( isset( $_SERVER['MW_COMPILED'] ) ) { wfProfileIn( 'img_auth.php' ); # Set action base paths so that WebRequest::getPathInfo() -# recognizes the "X" as the 'title' in ../image_auth/X urls. +# recognizes the "X" as the 'title' in ../img_auth.php/X urls. $wgArticlePath = false; # Don't let a "/*" article path clober our action path $wgActionPaths = array( "$wgUploadPath/" ); @@ -106,7 +106,7 @@ function wfImageAuthMain() { // Check to see if the file exists if ( !$repo->fileExists( $filename ) ) { - wfForbidden( 'img-auth-accessdenied','img-auth-nofile', $filename ); + wfForbidden( 'img-auth-accessdenied', 'img-auth-nofile', $filename ); return; }