Explorar o código

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

Fabien Potencier %!s(int64=15) %!d(string=hai) anos
pai
achega
b599ac9ef6

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