From 779f2243dbb4d94ea77590fad9c480b041b41705 Mon Sep 17 00:00:00 2001 From: Aaron Date: Wed, 11 Apr 2012 11:47:15 -0700 Subject: [PATCH] Fixed use of undefined FILES_ONLY constant. Change-Id: Icc924785cdb394adc723666bf9f6a67e9d6a4d0d --- img_auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1