hi there
as i was testing init.bat in yii2advanced , first time I select development mode then made some change in ‘main-local.php’ in common\config
after that ran again init.bat and select production mode and overwrite all, but unfortunately every change in ‘main-local.php’ was reset.
was i wrong in sth? which files should be overwrite?
thanks for reply…
samdark
(Alexander Makarov)
2
You wasn’t wrong. Local files in environments will replace your local ones. If you want to avoid it you can delete -local.php from environments.
actually its very awful
every time i change sth in config file, i have to run init.bat and select my environment
at last for production mode, i have to have this configs again and run init.bat
samdark
(Alexander Makarov)
4
Well, then delete local ones from environments and it will be fine for you.