From: Aaron Date: Wed, 11 Apr 2012 18:47:15 +0000 (-0700) Subject: Fixed use of undefined FILES_ONLY constant. X-Git-Tag: 1.31.0-rc.0~23932 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=779f2243dbb4d94ea77590fad9c480b041b41705;p=lhc%2Fweb%2Fwiklou.git Fixed use of undefined FILES_ONLY constant. Change-Id: Icc924785cdb394adc723666bf9f6a67e9d6a4d0d --- 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; }