X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=extensions%2FREADME;h=66236e85148875e50d4da10de39ddc20c6f01715;hb=5a7e5d8acabf7c244bd9d7d36592ff7f6a33771c;hp=22f47105133645e31106aecff9659fe803cd5ad9;hpb=0eff0c6c97e332120f4160f65cfeed5d15c479c5;p=lhc%2Fweb%2Fwiklou.git diff --git a/extensions/README b/extensions/README index 22f4710513..66236e8514 100644 --- a/extensions/README +++ b/extensions/README @@ -21,10 +21,10 @@ Please note that under POSIX systems (Linux...), parent of a symbolic path refers to the link source, NOT to the target! You should check the env variable MW_INSTALL_PATH in case the extension is not in the default location. -The following code snippet let you override the default path: +The following code snippet lets you override the default path: $IP = getenv( 'MW_INSTALL_PATH' ); if( $IP === false ) { - $IP = dirname( __FILE__ ) . '/../..'; + $IP = __DIR__ . '/../..'; } require_once( "$IP/maintenance/Maintenance.php" ); // a MediaWiki core file