summaryrefslogtreecommitdiff
path: root/includes/WebStart.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/WebStart.php')
-rw-r--r--includes/WebStart.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/WebStart.php b/includes/WebStart.php
index 17f8216b..01c5eea8 100644
--- a/includes/WebStart.php
+++ b/includes/WebStart.php
@@ -81,7 +81,7 @@ define( 'MEDIAWIKI', true );
# Full path to working directory.
# Makes it possible to for example to have effective exclude path in apc.
# Also doesn't break installations using symlinked includes, like
-# dirname( __FILE__ ) would do.
+# __DIR__ would do.
$IP = getenv( 'MW_INSTALL_PATH' );
if ( $IP === false ) {
$IP = realpath( '.' );