dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcdeff9
)
Fixed use of undefined FILES_ONLY constant.
author
Aaron
<aschulz@wikimedia.org>
Wed, 11 Apr 2012 18:47:15 +0000
(11:47 -0700)
committer
Aaron
<aschulz@wikimedia.org>
Wed, 11 Apr 2012 18:47:15 +0000
(11:47 -0700)
Change-Id: Icc924785cdb394adc723666bf9f6a67e9d6a4d0d
img_auth.php
patch
|
blob
|
history
diff --git
a/img_auth.php
b/img_auth.php
index
82afef2
..
a51e5ca
100644
(file)
--- 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;
}