@@ -73,9 +73,9 @@ discard block |
||
| 73 | 73 | { |
| 74 | 74 | foreach ($configItems as $configId => $configItem) { |
| 75 | 75 | $subItems = reset($configItem); |
| 76 | - $path = $parentId . '/' . $configId; |
|
| 77 | - $configPath = str_replace("admin/server/config/",'', $path); |
|
| 78 | - $translationKey = 'expansion_config.menu.' . implode('.', explode('/', $configPath)) . '.label'; |
|
| 76 | + $path = $parentId.'/'.$configId; |
|
| 77 | + $configPath = str_replace("admin/server/config/", '', $path); |
|
| 78 | + $translationKey = 'expansion_config.menu.'.implode('.', explode('/', $configPath)).'.label'; |
|
| 79 | 79 | |
| 80 | 80 | if (is_array($subItems)) { |
| 81 | 81 | $root->addChild( |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | $path, |
| 93 | 93 | $translationKey, |
| 94 | 94 | 'admin_config', // Default config on each element. |
| 95 | - ['cmd' => '/admin config "' . $configPath . '"'] |
|
| 95 | + ['cmd' => '/admin config "'.$configPath.'"'] |
|
| 96 | 96 | ); |
| 97 | 97 | } |
| 98 | 98 | } |