@@ -51,14 +51,14 @@ |
||
51 | 51 | */ |
52 | 52 | public static function init() { |
53 | 53 | |
54 | - $GLOBALS[ 'wgHooks' ][ 'SetupAfterCache' ][] = function () { |
|
54 | + $GLOBALS['wgHooks']['SetupAfterCache'][] = function() { |
|
55 | 55 | |
56 | 56 | $configuration = []; |
57 | - $configuration[ 'IP' ] = $GLOBALS[ 'IP' ]; |
|
58 | - $configuration[ 'remoteBasePath' ] = $GLOBALS[ 'wgExtensionAssetsPath' ] . '/Bootstrap/resources/bootstrap'; |
|
59 | - $configuration[ 'localBasePath' ] = $GLOBALS[ 'wgExtensionDirectory' ] . '/Bootstrap/resources/bootstrap'; |
|
57 | + $configuration['IP'] = $GLOBALS['IP']; |
|
58 | + $configuration['remoteBasePath'] = $GLOBALS['wgExtensionAssetsPath'] . '/Bootstrap/resources/bootstrap'; |
|
59 | + $configuration['localBasePath'] = $GLOBALS['wgExtensionDirectory'] . '/Bootstrap/resources/bootstrap'; |
|
60 | 60 | |
61 | - $setupAfterCache = new SetupAfterCache( $configuration ); |
|
61 | + $setupAfterCache = new SetupAfterCache($configuration); |
|
62 | 62 | $setupAfterCache->process(); |
63 | 63 | }; |
64 | 64 | } |