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 "Define $wgAlwaysUseTidy to false where needed in unit tests"
[lhc/web/wiklou.git]
/
img_auth.php
diff --git
a/img_auth.php
b/img_auth.php
index
74602f2
..
b04974b
100644
(file)
--- a/
img_auth.php
+++ b/
img_auth.php
@@
-43,12
+43,12
@@
define( 'MW_NO_OUTPUT_COMPRESSION', 1 );
if ( isset( $_SERVER['MW_COMPILED'] ) ) {
require ( 'core/includes/WebStart.php' );
} else {
if ( isset( $_SERVER['MW_COMPILED'] ) ) {
require ( 'core/includes/WebStart.php' );
} else {
- require (
dirname( __FILE__ )
. '/includes/WebStart.php' );
+ require (
__DIR__
. '/includes/WebStart.php' );
}
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/" );