@@ -103,12 +103,12 @@ |
||
| 103 | 103 | $this->posY = $posY; |
| 104 | 104 | |
| 105 | 105 | // Update current widgets. |
| 106 | - foreach ($this->guiHandler->getFactoryManialinks($this) as $manialink) { |
|
| 107 | - if ($manialink instanceof FmlManialink) { |
|
| 108 | - $manialink->setPosition($this->posX, $this->posY); |
|
| 109 | - } |
|
| 106 | + foreach ($this->guiHandler->getFactoryManialinks($this) as $manialink) { |
|
| 107 | + if ($manialink instanceof FmlManialink) { |
|
| 108 | + $manialink->setPosition($this->posX, $this->posY); |
|
| 109 | + } |
|
| 110 | 110 | |
| 111 | - $this->update($manialink->getUserGroup()); |
|
| 112 | - } |
|
| 111 | + $this->update($manialink->getUserGroup()); |
|
| 112 | + } |
|
| 113 | 113 | } |
| 114 | 114 | } |
@@ -25,13 +25,13 @@ |
||
| 25 | 25 | foreach ($bundles as $bundle) { |
| 26 | 26 | $reflection = new \ReflectionClass($bundle); |
| 27 | 27 | |
| 28 | - if (is_file($file = dirname($reflection->getFilename()) . '/Resources/config/expansion_defaults/core_config.yml')) { |
|
| 28 | + if (is_file($file = dirname($reflection->getFilename()).'/Resources/config/expansion_defaults/core_config.yml')) { |
|
| 29 | 29 | $config = Yaml::parse(file_get_contents(realpath($file))); |
| 30 | 30 | $container->prependExtensionConfig('e_xpansion_core', $config['e_xpansion_core']); |
| 31 | 31 | } |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | - if (is_file($file = $container->getParameter('kernel.root_dir') . '/config/expansion.yml')) { |
|
| 34 | + if (is_file($file = $container->getParameter('kernel.root_dir').'/config/expansion.yml')) { |
|
| 35 | 35 | $config = Yaml::parse(file_get_contents(realpath($file))); |
| 36 | 36 | $container->prependExtensionConfig('e_xpansion_core', $config['e_xpansion_core']); |
| 37 | 37 | } |