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
Use __DIR__ instead of dirname( __FILE__ )
[lhc/web/wiklou.git]
/
maintenance
/
mwdocgen.php
diff --git
a/maintenance/mwdocgen.php
b/maintenance/mwdocgen.php
index
a59ba17
..
583249a
100644
(file)
--- a/
maintenance/mwdocgen.php
+++ b/
maintenance/mwdocgen.php
@@
-49,7
+49,7
@@
if ( php_sapi_name() != 'cli' ) {
}
/** Figure out the base directory for MediaWiki location */
-$mwPath = dirname(
dirname( __FILE__ )
) . DIRECTORY_SEPARATOR;
+$mwPath = dirname(
__DIR__
) . DIRECTORY_SEPARATOR;
/** doxygen binary script */
$doxygenBin = 'doxygen';