Index: branches/SemanticMaps0.8/SemanticMaps.php |
— | — | @@ -44,7 +44,7 @@ |
45 | 45 | if ( defined( 'Maps_VERSION' ) && defined( 'SMW_VERSION' ) ) { |
46 | 46 | define( 'SM_VERSION', '0.8 alpha' ); |
47 | 47 | |
48 | | - $smgScriptPath = $wgExtensionAssetsPath . '/SemanticMaps'; |
| 48 | + $smgScriptPath = ( $wgExtensionAssetsPath === false ? '/extensions' : $wgExtensionAssetsPath ) . '/SemanticMaps'; |
49 | 49 | $smgDir = dirname( __FILE__ ) . '/'; |
50 | 50 | |
51 | 51 | $smgStyleVersion = $wgStyleVersion . '-' . SM_VERSION; |