public function init() { // Register the cii path alias. if (Yii::getPathOfAlias('cii') === false) { Yii::setPathOfAlias('cii', realpath(dirname(__FILE__) . '/..')); } Cii::loadUserInfo(); $this->registerJqueryCore(); parent::init(); }