X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=blobdiff_plain;f=img_auth.php;h=a51e5caa029070c9c1a6c7cb2c4c18678c321615;hb=a9e028e5a8d907a376e494f542cb89e69a129637;hp=82afef27bcb5185a30b496f0b09ea0e8bc01d4e6;hpb=6392dda47bd1ef251750aea06822c231e1b2b992;p=lhc%2Fweb%2Fwiklou.git diff --git a/img_auth.php b/img_auth.php index 82afef27bc..a51e5caa02 100644 --- a/img_auth.php +++ b/img_auth.php @@ -92,7 +92,7 @@ function wfImageAuthMain() { } // Check to see if the file exists - if ( !$repo->fileExists( $filename, FileRepo::FILES_ONLY ) ) { + if ( !$repo->fileExists( $filename ) ) { wfForbidden( 'img-auth-accessdenied','img-auth-nofile', $filename ); return; }