浏览代码

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

Fabien Potencier 14 年之前
父节点
当前提交
b588caf467
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Component/DependencyInjection/Loader/FileLoader.php

+ 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);