avanzu / AdminThemeBundle

Admin Theme based on the AdminLTE Template for easy integration into symfony
MIT License
280 stars 148 forks source link

fix bundle conf #183

Closed numerogeek closed 7 years ago

numerogeek commented 7 years ago

Fix the custom conf overrided by an empty array.

shakaran commented 7 years ago

Rejecting. This avoid parse all the config even if it is valid. I will explain you in the other issue.

numerogeek commented 7 years ago

@shakaran I doubt that the $container->getExtensionConfig($this->getAlias()); parse anything.

Check the function content :

    public function getExtensionConfig($name)
    {
        if (!isset($this->extensionConfigs[$name])) {
            $this->extensionConfigs[$name] = array();
        }

        return $this->extensionConfigs[$name];
    }