fixed di container configuration

This commit is contained in:
Christian Kerl
2010-10-06 00:00:15 +02:00
parent b083a4f512
commit 783ced3b7b
2 changed files with 8 additions and 6 deletions

View File

@ -25,11 +25,13 @@ class WebServiceExtension extends Extension
{
if(!$configuration->hasDefinition('webservice_http_kernel'))
{
$loader = new XmlFileLoader($configuration, __DIR__ . "/../Resources/config");
$loader->load("services.xml");
$loader = new XmlFileLoader($configuration, __DIR__ . '/../Resources/config');
$loader->load('services.xml');
$configuration->setAlias("http_kernel", "webservice_http_kernel");
$configuration->setAlias('http_kernel', 'webservice_http_kernel');
}
$configuration->setParameter('webservice.config.wsdl', $config['wsdl']);
}
public function getXsdValidationBasePath()