소스 검색

[DependencyInjection] removed usage of realpath() to be compatible with phar

Fabien Potencier 15 년 전
부모
커밋
b599ac9ef6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Components/DependencyInjection/Loader/FileLoader.php

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

@@ -45,7 +45,7 @@ abstract class FileLoader extends Loader
       throw new \InvalidArgumentException(sprintf('The file "%s" does not exist (in: %s).', $file, implode(', ', $this->paths)));
     }
 
-    return realpath($path);
+    return $path;
   }
 
   protected function getAbsolutePath($file, $currentPath = null)