symfony2admingenerator / AdmingeneratorGeneratorBundle

(old-legacy) Admingenerator for Symfony2, parse generator.yml files to build classes
http://symfony2admingenerator.org/
MIT License
360 stars 125 forks source link

Added realpath to dirname usages #766

Closed bobvandevijver closed 10 years ago

bobvandevijver commented 10 years ago

This should solve every issue which might happen as described in #750. By first calculating the real path (see http://www.php.net/manual/en/function.realpath.php) the dirname function should always return the parent dir (and not just remove the last ../).

750 can be closed after merge.

ioleo commented 10 years ago

@bobvandevijver could you make a PR against v1.0 and v1.1 too?

bobvandevijver commented 10 years ago

@loostro I've added them

ioleo commented 10 years ago

@bobvandevijver merged, thanks