dflydev / dflydev-doctrine-orm-service-provider

Doctrine ORM Service Provider
MIT License
209 stars 59 forks source link

Fixed default proxies_dir value. #83

Closed alehaa closed 3 months ago

alehaa commented 7 years ago

The default value did not resolve to the root path, but its parent directory. Now the cache directory will be in the same directory as 'vendor', i.e. the root directory of the project.

Note: As far as I understand this code right now, using this path may be unstable, as it highly depends on the current file location. If e.g. one would move the file, this path is not valid anymore. I would suggest to check for a constant or something similar to check, if the user provides a root path, e.g.ROOT.

alehaa commented 6 years ago

Is there any progress with this PR @dflydev? Can I do something to help?