name: Feature Request
about: It would be a great thing if, the core initializator take custom config instead those of env or app
Describe the bug
I used to use the db table settings as the main for the core initializator, to avoid editing Config/App.php every time i change the server or domain or any other extra-param that I need to use on runtime .
Usine a base controller is fine a bit, but the baseURL is not overwrite because the \CodeIgniter initializator take as params the Config\App before any initialization of other dependencies including DB instance.
CodeIgniter 4 version
All
Affected module(s)
CodeIgniter Initializator
Expected behavior, and steps to reproduce if appropriate
autoloading some custom db table configs to overwrite the app before any other dependencies that can be used globaly
Context
- OS: Win/Linux
- Apache/Nginx
- PHP version : 7x
name: Feature Request
about: It would be a great thing if, the core initializator take custom config instead those of env or app
Describe the bug
I used to use the db table settings as the main for the core initializator, to avoid editing Config/App.php every time i change the server or domain or any other extra-param that I need to use on runtime .
Usine a base controller is fine a bit, but the baseURL is not overwrite because the \CodeIgniter initializator take as params the Config\App before any initialization of other dependencies including DB instance.
CodeIgniter 4 version
All
Affected module(s)
CodeIgniter Initializator
Expected behavior, and steps to reproduce if appropriate
autoloading some custom db table configs to overwrite the app before any other dependencies that can be used globaly
Context