update main.php

Config main Yii App