Index: trunk/extensions/Maps/OpenLayers/Maps_OpenLayersUtils.php |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | */ |
32 | 32 | public static function loadDependencyWhenNeeded(&$output, $layer) { |
33 | 33 | global $wgJsMimeType; |
34 | | - global $egGoogleMapsOnThisPage, $egMapsIncludePath; |
| 34 | + global $egGoogleMapsOnThisPage, $egMapsScriptPath; |
35 | 35 | |
36 | 36 | switch ($layer) { |
37 | 37 | case 'google' : case 'google-normal' : case 'google-sattelite' : case 'google-hybrid' : case 'google-physical' : |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | if (!self::$loadedOL) { $output .= "<script type='$wgJsMimeType' src='http://clients.multimap.com/API/maps/1.1/metacarta_04'></script>\n"; self::$loadedOL = true; } |
51 | 51 | break; |
52 | 52 | case 'osm' : case 'openstreetmap' : |
53 | | - if (!self::$loadedOSM) { $output .= "<script type='$wgJsMimeType' src='$egMapsIncludePath/OpenLayers/OSM/OpenStreetMap.js'></script>\n"; self::$loadedOSM = true; } |
| 53 | + if (!self::$loadedOSM) { $output .= "<script type='$wgJsMimeType' src='$egMapsScriptPath/OpenLayers/OSM/OpenStreetMap.js'></script>\n"; self::$loadedOSM = true; } |
54 | 54 | break; |
55 | 55 | } |
56 | 56 | } |
Index: trunk/extensions/Maps/Maps.php |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | die( 'Not an entry point.' ); |
25 | 25 | } |
26 | 26 | |
27 | | -define('Maps_VERSION', '0.3.5 a2'); |
| 27 | +define('Maps_VERSION', '0.3.5 a3'); |
28 | 28 | |
29 | 29 | $egMapsScriptPath = $wgScriptPath . '/extensions/Maps'; |
30 | 30 | $egMapsIP = $IP . '/extensions/Maps'; |