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