Index: branches/Maps0.8/Maps.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | define( 'Maps_COORDS_DM', 'dm' ); |
50 | 50 | define( 'Maps_COORDS_DD', 'dd' ); |
51 | 51 | |
52 | | - $egMapsScriptPath = $wgExtensionAssetsPath . '/Maps'; |
| 52 | + $egMapsScriptPath = ( $wgExtensionAssetsPath === false ? '/extensions' : $wgExtensionAssetsPath ) . '/Maps'; |
53 | 53 | $egMapsDir = dirname( __FILE__ ) . '/'; |
54 | 54 | |
55 | 55 | $egMapsStyleVersion = $wgStyleVersion . '-' . Maps_VERSION; |