Localisation updates Cantonese and Chinese for extension messages
authorShinjiman <shinjiman@users.mediawiki.org>
Sun, 5 Jul 2009 13:04:16 +0000 (13:04 +0000)
committerShinjiman <shinjiman@users.mediawiki.org>
Sun, 5 Jul 2009 13:04:16 +0000 (13:04 +0000)
fix the environment variable PATH to avoid E_NOTICE for r52653.

includes/specials/SpecialVersion.php

index 0701a8c..9c67483 100644 (file)
@@ -241,7 +241,7 @@ class SpecialVersion extends SpecialPage {
                                        if ( count( $swWhereIsBinPath ) > 1 )
                                                $wBinPath = dirname( $swWhereIsBinPath[1] );
                                } else {
-                                       $swPathLine = explode( ';', $_SERVER[PATH] );
+                                       $swPathLine = explode( ';', $_SERVER['PATH'] );
                                        $swPathFound = false;
                                        foreach( $swPathLine as $swPathDir ) {
                                                if ( file_exists( $swPathDir . '/' . $swMathCmd . '.exe' ) && ($swPathFound === false) ) {