Index: trunk/extensions/JS2Support/mwEmbed/includes/NamedResourceLoader.php |
— | — | @@ -117,7 +117,8 @@ |
118 | 118 | global $wgExtensionMessagesFiles; |
119 | 119 | |
120 | 120 | // Get the module name |
121 | | - $moduleName = end( explode('/', $modulePath ) ); |
| 121 | + $modulePathParts = explode('/', $modulePath ); |
| 122 | + $moduleName = end( $modulePathParts ); |
122 | 123 | |
123 | 124 | // Set the directory context for relative js/css paths |
124 | 125 | self::$directoryContext = $modulePath; |