Index: trunk/extensions/SemanticMediaWiki/SMW_Settings.php |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | # web. Change it if required ($wgScriptPath is the path to the base directory |
25 | 25 | # of your wiki). No final slash. |
26 | 26 | ## |
27 | | -$smwgScriptPath = $wgScriptPath . '/extensions/SemanticMediaWiki'; |
| 27 | +$smwgScriptPath = ( isset( $wgExtensionAssetsPath ) && $wgExtensionAssetsPath ? $wgExtensionAssetsPath : $wgScriptPath . '/extensions' ) . '/SemanticMediaWiki'; |
28 | 28 | ## |
29 | 29 | |
30 | 30 | ### |