Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

ModuleModel::createModule defaults config as application.config.php #116

Open
TomHAnderson opened this issue Mar 4, 2014 · 1 comment
Open

Comments

@TomHAnderson
Copy link
Contributor

https://github.com/zfcampus/zf-apigility-admin/blob/master/src/ZF/Apigility/Admin/Model/ModuleModel.php#L119

The ability to change which config file a new module is added to, e.g. development.config.php or generated.config.php, would be very helpful.

I don't think anything should ever modify the application.config.php because you'll need to sed out the line if you want to regenerate the module.

Any generated module should be able to be managed by any config file. In our case we generate the API dynamically on each installed machine. Being able to do this by removing the config/generated.config.php file and the /module/Api directory is much easier than removing Api from the module list.

@michalbundyra
Copy link
Member

This repository has been closed and moved to laminas-api-tools/api-tools-admin; a new issue has been opened at laminas-api-tools/api-tools-admin#50.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants