Ver Fonte

[DependencyInjection] made a small change to mimic a similar change in Routing

Fabien Potencier há 14 anos atrás
pai
commit
b588caf467

+ 1 - 1
src/Symfony/Component/DependencyInjection/Loader/FileLoader.php

@@ -51,7 +51,7 @@ abstract class FileLoader extends Loader
             $loader = $this->resolve($resource);
 
             if ($loader instanceof FileLoader && null !== $this->currentDir) {
-                $resource = $this->locator->getAbsolutePath($resource, $this->currentDir);
+                $resource = $this->locator->locate($resource, $this->currentDir);
             }
 
             $loader->load($resource);