/home/itip/web/bestactor.ru/public_html/app/extensions/eauth/EOAuthService.php(80)
68 } 69 70 /** 71 * Authenticate the user. 72 * 73 * @return boolean whether user was successfuly authenticated. 74 * @throws EAuthException 75 */ 76 public function authenticate() { 77 $this->authenticated = $this->auth->authenticate(); 78 $error = $this->auth->getError(); 79 if (isset($error)) { 80 throw new EAuthException($error); 81 } 82 83 // In case of successful authentication save access token and 84 // customer to session. 85 if ($this->authenticated) { 86 $this->saveCredentials(); 87 } 88 89 return $this->getIsAuthenticated(); 90 } 91 92 /**
#0 |
+
–
/home/itip/web/bestactor.ru/public_html/app/extensions/eauth/services/TwitterOAuthService.php(57): EOAuthService->authenticate() 52 public function authenticate() { 53 if (isset($_GET['denied'])) { 54 $this->cancel(); 55 } 56 57 return parent::authenticate(); 58 } 59 } |
#1 |
+
–
/home/itip/web/bestactor.ru/public_html/app/controllers/frontend/UserController.php(31): TwitterOAuthService->authenticate() 26 if (isset($service)) { 27 $authIdentity = Yii::app()->eauth->getIdentity($service); 28 $authIdentity->redirectUrl = Yii::app()->user->returnUrl; 29 $authIdentity->cancelUrl = $this->createAbsoluteUrl('user/login'); 30 31 if ($authIdentity->authenticate()) { 32 $identity = new ServiceUserIdentity($authIdentity); 33 34 // Успешный вход 35 if ($identity->authenticate()) { 36 Yii::app()->user->login($identity); |
#2 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(4226): UserController->actionLogin() 4221 $methodName='action'.$this->getId(); 4222 $controller=$this->getController(); 4223 $method=new ReflectionMethod($controller, $methodName); 4224 if($method->getNumberOfParameters()>0) 4225 return $this->runWithParamsInternal($controller, $method, $params); 4226 $controller->$methodName(); 4227 return true; 4228 } 4229 } 4230 class CWebUser extends CApplicationComponent implements IWebUser 4231 { |
#3 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(3739): CInlineAction->runWithParams() 3734 { 3735 $priorAction=$this->_action; 3736 $this->_action=$action; 3737 if($this->beforeAction($action)) 3738 { 3739 if($action->runWithParams($this->getActionParams())===false) 3740 $this->invalidActionParams($action); 3741 else 3742 $this->afterAction($action); 3743 } 3744 $this->_action=$priorAction; |
#4 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(7068): CController->runAction() 7063 { 7064 $filter=$this->itemAt($this->filterIndex++); 7065 $filter->filter($this); 7066 } 7067 else 7068 $this->controller->runAction($this->action); 7069 } 7070 } 7071 class CFilter extends CComponent implements IFilter 7072 { 7073 public function filter($filterChain) |
#5 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(7077): CFilterChain->run() 7072 { 7073 public function filter($filterChain) 7074 { 7075 if($this->preFilter($filterChain)) 7076 { 7077 $filterChain->run(); 7078 $this->postFilter($filterChain); 7079 } 7080 } 7081 public function init() 7082 { |
#6 |
+
–
/home/itip/web/bestactor.ru/public_html/app/modules/rights/components/RController.php(36): CFilter->filter() 31 */ 32 public function filterRights($filterChain) 33 { 34 $filter = new RightsFilter; 35 $filter->allowedActions = $this->allowedActions(); 36 $filter->filter($filterChain); 37 } 38 39 /** 40 * @return string the actions that are always allowed separated by commas. 41 */ |
#7 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(7110): RController->filterRights() 7105 array('{filter}'=>$filterName, '{class}'=>get_class($controller)))); 7106 } 7107 public function filter($filterChain) 7108 { 7109 $method='filter'.$this->name; 7110 $filterChain->controller->$method($filterChain); 7111 } 7112 } 7113 class CAccessControlFilter extends CFilter 7114 { 7115 public $message; |
#8 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(7065): CInlineFilter->filter() 7060 public function run() 7061 { 7062 if($this->offsetExists($this->filterIndex)) 7063 { 7064 $filter=$this->itemAt($this->filterIndex++); 7065 $filter->filter($this); 7066 } 7067 else 7068 $this->controller->runAction($this->action); 7069 } 7070 } |
#9 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(3729): CFilterChain->run() 3724 $this->runAction($action); 3725 else 3726 { 3727 $priorAction=$this->_action; 3728 $this->_action=$action; 3729 CFilterChain::create($this,$action,$filters)->run(); 3730 $this->_action=$priorAction; 3731 } 3732 } 3733 public function runAction($action) 3734 { |
#10 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(3714): CController->runActionWithFilters() 3709 { 3710 if(($parent=$this->getModule())===null) 3711 $parent=Yii::app(); 3712 if($parent->beforeControllerAction($this,$action)) 3713 { 3714 $this->runActionWithFilters($action,$this->filters()); 3715 $parent->afterControllerAction($this,$action); 3716 } 3717 } 3718 else 3719 $this->missingAction($actionID); |
#11 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(1799): CController->run() 1794 { 1795 list($controller,$actionID)=$ca; 1796 $oldController=$this->_controller; 1797 $this->_controller=$controller; 1798 $controller->init(); 1799 $controller->run($actionID); 1800 $this->_controller=$oldController; 1801 } 1802 else 1803 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1804 array('{route}'=>$route===''?$this->defaultController:$route))); |
#12 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(1719): CWebApplication->runController() 1714 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1715 $_GET[$name]=$value; 1716 } 1717 else 1718 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1719 $this->runController($route); 1720 } 1721 protected function registerCoreComponents() 1722 { 1723 parent::registerCoreComponents(); 1724 $components=array( |
#13 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(1236): CWebApplication->processRequest() 1231 public function run() 1232 { 1233 if($this->hasEventHandler('onBeginRequest')) 1234 $this->onBeginRequest(new CEvent($this)); 1235 register_shutdown_function(array($this,'end'),0,false); 1236 $this->processRequest(); 1237 if($this->hasEventHandler('onEndRequest')) 1238 $this->onEndRequest(new CEvent($this)); 1239 } 1240 public function end($status=0,$exit=true) 1241 { |
#14 |
+
–
/home/itip/web/bestactor.ru/public_html/app/extensions/behaviors/WebApplicationEndBehavior.php(24): CApplication->run() 19 20 21 $this->onModuleCreate = array($this, 'changeModulePaths'); 22 $this->onModuleCreate(new CEvent ($this->owner)); 23 24 $this->owner->run(); 25 } 26 27 28 public function onModuleCreate($event) 29 { |
#15 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(733): WebApplicationEndBehavior->runEnd() 728 if($this->_m!==null) 729 { 730 foreach($this->_m as $object) 731 { 732 if($object->getEnabled() && method_exists($object,$name)) 733 return call_user_func_array(array($object,$name),$parameters); 734 } 735 } 736 if(class_exists('Closure', false) && ($this->canGetProperty($name) || property_exists($this, $name)) && $this->$name instanceof Closure) 737 return call_user_func_array($this->$name, $parameters); 738 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#16 |
+
–
/home/itip/web/bestactor.ru/public_html/index.php(23): CComponent->__call() 18 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',0); 19 20 define('AUTHOR', 'bestactor'); 21 22 require_once($yii); 23 Yii::createWebApplication($config)->runEnd('frontend'); |