YII1.0 & YII2.0 init