public function beforeAction($action)
	{
		// Redirect to SSL if this is set in the dashboard
		if (!Yii::app()->getRequest()->isSecureConnection && Cii::getConfig('forceSecureSSL', false))
            $this->redirect('https://' . Yii::app()->getRequest()->serverName . Yii::app()->getRequest()->requestUri);

        Yii::app()->setTheme(NULL);
        return parent::beforeAction($action);
	}
public function beforeAction($action)
	{
		// Redirect to SSL if this is set in the dashboard
		if (!Yii::app()->getRequest()->isSecureConnection && Cii::getConfig('forceSecureSSL', false))
            $this->redirect('https://' . Yii::app()->getRequest()->serverName . Yii::app()->getRequest()->requestUri);

        Yii::app()->setTheme(NULL);
        return parent::beforeAction($action);
	}
public function beforeAction ( $ action ) { // Redirect to SSL if this is set in the dashboard if ( ! Yii :: app ( ) -> getRequest ( ) -> isSecureConnection && Cii :: getConfig ( 'forceSecureSSL' , false ) ) $ this -> redirect ( 'https://' . Yii :: app ( ) -> getRequest ( ) -> serverName . Yii :: app ( ) -> getRequest ( ) -> requestUri ) ; Yii :: app ( ) -> setTheme ( NULL ) ; return parent :: beforeAction ( $ action ) ; }
Before action method
@param  CAction $action The aciton
@return boolean
Before action method