Use __DIR__ instead of dirname( __FILE__ )
[lhc/web/wiklou.git] / index.php
index 2010878..2ee17f8 100644 (file)
--- a/index.php
+++ b/index.php
@@ -51,7 +51,7 @@ if ( !function_exists( 'version_compare' ) || version_compare( phpversion(), '5.
 if ( isset( $_SERVER['MW_COMPILED'] ) ) {
        require ( 'phase3/includes/WebStart.php' );
 } else {
-       require ( dirname( __FILE__ ) . '/includes/WebStart.php' );
+       require ( __DIR__ . '/includes/WebStart.php' );
 }
 
 $mediaWiki = new MediaWiki();