소스 검색

Updated the way the configuration is loaded

Pascal Burkhard 14 년 전
부모
커밋
f301dc399d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      DependencyInjection/BaseApplicationExtension.php

+ 1 - 1
DependencyInjection/BaseApplicationExtension.php

@@ -99,7 +99,7 @@ class BaseApplicationExtension extends Extension
     
     protected function configLoadFiles($container)
     {
-        $loader = new XmlFileLoader($container, __DIR__ . '/../Resources/config');
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
 
         foreach ($this->configNamespaces as $ns => $params) {
             $loader->load(sprintf('%s.xml', $ns));