[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
1 changed files with 1 additions and 1 deletions

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