//YII framework路径 Yii::getFrameworkPath(); //protected/runtime Yii::app()-getRuntimePath(); //protected/venders目录 Yii::import(application.venders.*); //或在protected/confi...