Customize Generated Index.php File

Is it possible to customize Yii so it generates a custom index.php file (the main one that all Yii requests go through)?

Based on the environments setup we have it requires changing the index.php file everytime, since i’m constantly generating apps it would be great to just have it always generate the customized index.php file.


Try this:

Unfortunately giix will not generate the main webroot/index.php file. This is a job for the command "yiic webapp".

But you should definitely try giix ;)