X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=img_auth.php;h=d7125897c5f9941e629bb361aa961067ec3888ac;hb=4b54f8416d75f6ff39087753a09d59af387558f8;hp=82afef27bcb5185a30b496f0b09ea0e8bc01d4e6;hpb=5a7b4d3f95db6055da83dc546933d8232520d950;p=lhc%2Fweb%2Fwiklou.git diff --git a/img_auth.php b/img_auth.php index 82afef27bc..d7125897c5 100644 --- a/img_auth.php +++ b/img_auth.php @@ -1,5 +1,4 @@ fileExists( $filename, FileRepo::FILES_ONLY ) ) { + if ( !$repo->fileExists( $filename ) ) { wfForbidden( 'img-auth-accessdenied','img-auth-nofile', $filename ); return; }