ConfigLoader example

/** * Loads the shopware configuration, which will be injected into * the Shopware_Application. * The shopware configuration is required before the shopware application booted, * to pass the configuration to the Symfony di container. * * @throws Exception */
    protected function initializeConfig()
    {
        $configLoader = new ConfigLoader(
            $this->getRootDir(),
            $this->getCacheDir(),
            $this->environment,
            $this->name
        );

        $this->config = $configLoader->loadConfig(
            $this->getConfigPath()
        );
    }

    
Home | Imprint | This part of the site doesn't use cookies.