dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Expand $wgLanguageCode documentation"
[lhc/web/wiklou.git]
/
img_auth.php
diff --git
a/img_auth.php
b/img_auth.php
index
b3a3495
..
2f7fb39
100644
(file)
--- a/
img_auth.php
+++ b/
img_auth.php
@@
-48,7
+48,7
@@
if ( isset( $_SERVER['MW_COMPILED'] ) ) {
wfProfileIn( 'img_auth.php' );
# Set action base paths so that WebRequest::getPathInfo()
wfProfileIn( 'img_auth.php' );
# Set action base paths so that WebRequest::getPathInfo()
-# recognizes the "X" as the 'title' in ../im
age_auth
/X urls.
+# recognizes the "X" as the 'title' in ../im
g_auth.php
/X urls.
$wgArticlePath = false; # Don't let a "/*" article path clober our action path
$wgActionPaths = array( "$wgUploadPath/" );
$wgArticlePath = false; # Don't let a "/*" article path clober our action path
$wgActionPaths = array( "$wgUploadPath/" );
@@
-106,7
+106,7
@@
function wfImageAuthMain() {
// Check to see if the file exists
if ( !$repo->fileExists( $filename ) ) {
// Check to see if the file exists
if ( !$repo->fileExists( $filename ) ) {
- wfForbidden( 'img-auth-accessdenied','img-auth-nofile', $filename );
+ wfForbidden( 'img-auth-accessdenied',
'img-auth-nofile', $filename );
return;
}
return;
}