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:
502d867
)
wrong language object
author
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 16 Jul 2006 04:07:01 +0000
(
04:07
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 16 Jul 2006 04:07:01 +0000
(
04:07
+0000)
img_auth.php
patch
|
blob
|
history
diff --git
a/img_auth.php
b/img_auth.php
index
111fbdf
..
4917fe5
100644
(file)
--- a/
img_auth.php
+++ b/
img_auth.php
@@
-18,7
+18,7
@@
if( !isset( $_SERVER['PATH_INFO'] ) ) {
# Get filenames/directories
$filename = realpath( $wgUploadDirectory . $_SERVER['PATH_INFO'] );
$realUploadDirectory = realpath( $wgUploadDirectory );
-$imageName = $wgLang->getNsText( NS_IMAGE ) . ":" . basename( $_SERVER['PATH_INFO'] );
+$imageName = $wg
Cont
Lang->getNsText( NS_IMAGE ) . ":" . basename( $_SERVER['PATH_INFO'] );
# Check if the filename is in the correct directory
if ( substr( $filename, 0, strlen( $realUploadDirectory ) ) != $realUploadDirectory ) {