Sfoglia il codice sorgente

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

Fabien Potencier 15 anni fa
parent
commit
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)