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);
	}