From b599ac9ef61331bc65262e8939b76eea21f4cbb0 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 2 Feb 2010 18:47:28 +0100 Subject: [PATCH] [DependencyInjection] removed usage of realpath() to be compatible with phar --- .../Components/DependencyInjection/Loader/FileLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Components/DependencyInjection/Loader/FileLoader.php b/src/Symfony/Components/DependencyInjection/Loader/FileLoader.php index cc2ac126fc..bd65728b0a 100644 --- a/src/Symfony/Components/DependencyInjection/Loader/FileLoader.php +++ b/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)