KnpLabs/Gaufrette — pull request #82 by AlexKovalevych (2012-08-30 09:45:09+00:00)
Title: use realpath instead of readlink while defining local adapter's base directory

Lets consider such example:
we set base directory to '/Users/alex/Sites/test/shared'
which is a symlink to '../anotherTest/shared'.
In case of using readlink function, base local adapter's directory will be
'../anotherTest/shared' and if you try to read file via that adapter you get
`The path is out of the filesystem` error.
In case of using realpath function, the adapter's base directory will be:
'/Users/alex/Sites/anotherTest/shared/' an everything works as expected.