dflydev / dflydev-doctrine-orm-service-provider

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

Update proxies_dir in DoctrineOrmServiceProvider #93

Open salimimani opened 5 years ago

salimimani commented 5 years ago

There is one "../" too many in proxies_dir value. In v1 there was an additional subfolder (Cilex or Pimple or Silex) between Dflydev and Provider. In this version there is no intermediate folder. Which means we need to go back one folder less. So only 7 "../" in v2 instead of 8 in v1 My project fails to write in cache folder because due to security settings in our openshift container, we only have access to www root folder. With this, we go one folder above, and it fails to write in the parent folder for which we don't have the permissions.

alehaa commented 5 years ago

I've already sent a PR nearly two years ago in #83. However, as Silex is deprecated, I don't think this repo will be maintained anymore.

dominikzogg commented 5 years ago

You could try my service providers https://github.com/chubbyphp/chubbyphp-doctrine-db-service-provider