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

This commit is contained in:
Fabien Potencier 2010-02-02 18:47:28 +01:00
parent 94f6e78ce4
commit b599ac9ef6

View File

@ -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))); 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) protected function getAbsolutePath($file, $currentPath = null)