Skip to content

Commit

Permalink
Merge branch 'hotfix/1.1.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
denniserdmann committed Aug 30, 2021
2 parents 53a9b2c + 0dfc2a7 commit ad98713
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG:

# 1.1.10 (29.08.2021)
- fix: localconfig-Einstellungen aus der config.yml werden nun übernommen (#10)

_Danke katgirl und fritzmg_

# 1.1.9 (14.04.2021)
- Übersicht für im Theme verwendete CSS-Klassen in `README.md` ergänzt

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"keywords":["contao", "erdmannfreunde", "optimist", "theme"],
"type": "composer-plugin",
"license": "LGPL-3.0-or-later",
"version": "1.1.9",
"version": "1.1.10",
"authors":[
{
"name": "Erdmann & Freunde",
Expand Down
4 changes: 3 additions & 1 deletion src/ContaoManager/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ class Plugin implements ExtensionPluginInterface
public function getExtensionConfig($extensionName, array $extensionConfigs, ContainerBuilder $container)
{
if ('contao' === $extensionName) {
$extensionConfigs[] = ['localconfig' => ['folderUrl' => true]];
foreach($extensionConfigs as $id=>$value) {
$extensionConfigs[$id]['localconfig'] = array_merge($extensionConfigs[$id]['localconfig'] ?? [], ['folderUrl' => true]);
}
}

return $extensionConfigs;
Expand Down

0 comments on commit ad98713

Please sign in to comment.