fix Yii::app()->request->baseUrl return NULL, which is repalced to Yii::app()->request->getBaseUrl(true)