/var/www/tpona/data/www/tvercars.ru/www/protected/controllers/SeoController.php(51)
39 40 $jump = new Jump(); 41 $jump->urlId = $url->id; 42 $jump->jumpTime = time(); 43 $jump->save(); 44 45 $this->redirect($url->url); 46 } 47 48 } 49 } 50 51 if (!preg_match("/tvercars/", $_SERVER['HTTP_REFERER'])) { 52 throw new CHttpException(404, 'Мы не можем понять куда вы хотите перейти (( '); 53 } 54 // Редирект осуществляется по URL в модели JumpUrl 55 if (isset($_GET['url'])) { 56 $model = new SeoUrlRedirect; 57 $model->url = $_GET['url']; 58 59 if ($model->validate()) { 60 $url = JumpUrl::model()->find(array( 61 'condition' => 'url=:url', 62 'params' => array(':url' => $model->url) 63 ));
#0 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(4058): SeoController->actionJump() 4053 $controller=$this->getController(); 4054 $method=new ReflectionMethod($controller, $methodName); 4055 if($method->getNumberOfParameters()>0) 4056 return $this->runWithParamsInternal($controller, $method, $params); 4057 else 4058 return $controller->$methodName(); 4059 } 4060 } 4061 class CWebUser extends CApplicationComponent implements IWebUser 4062 { 4063 const FLASH_KEY_PREFIX='Yii.CWebUser.flash.'; |
#1 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(3570): CInlineAction->runWithParams(array("url" => "http://ssangyong-nordavto.ru/")) 3565 { 3566 $priorAction=$this->_action; 3567 $this->_action=$action; 3568 if($this->beforeAction($action)) 3569 { 3570 if($action->runWithParams($this->getActionParams())===false) 3571 $this->invalidActionParams($action); 3572 else 3573 $this->afterAction($action); 3574 } 3575 $this->_action=$priorAction; |
#2 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(6743): CController->runAction(CInlineAction) 6738 { 6739 $filter=$this->itemAt($this->filterIndex++); 6740 $filter->filter($this); 6741 } 6742 else 6743 $this->controller->runAction($this->action); 6744 } 6745 } 6746 class CFilter extends CComponent implements IFilter 6747 { 6748 public function filter($filterChain) |
#3 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(6752): CFilterChain->run() 6747 { 6748 public function filter($filterChain) 6749 { 6750 if($this->preFilter($filterChain)) 6751 { 6752 $filterChain->run(); 6753 $this->postFilter($filterChain); 6754 } 6755 } 6756 public function init() 6757 { |
#4 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(3948): CFilter->filter(CFilterChain) 3943 } 3944 public function filterAccessControl($filterChain) 3945 { 3946 $filter=new CAccessControlFilter; 3947 $filter->setRules($this->accessRules()); 3948 $filter->filter($filterChain); 3949 } 3950 public function getPageState($name,$defaultValue=null) 3951 { 3952 if($this->_pageStates===null) 3953 $this->_pageStates=$this->loadPageStates(); |
#5 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(6785): CController->filterAccessControl(CFilterChain) 6780 array('{filter}'=>$filterName, '{class}'=>get_class($controller)))); 6781 } 6782 public function filter($filterChain) 6783 { 6784 $method='filter'.$this->name; 6785 $filterChain->controller->$method($filterChain); 6786 } 6787 } 6788 class CAccessControlFilter extends CFilter 6789 { 6790 public $message; |
#6 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(6740): CInlineFilter->filter(CFilterChain) 6735 public function run() 6736 { 6737 if($this->offsetExists($this->filterIndex)) 6738 { 6739 $filter=$this->itemAt($this->filterIndex++); 6740 $filter->filter($this); 6741 } 6742 else 6743 $this->controller->runAction($this->action); 6744 } 6745 } |
#7 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(3560): CFilterChain->run() 3555 $this->runAction($action); 3556 else 3557 { 3558 $priorAction=$this->_action; 3559 $this->_action=$action; 3560 CFilterChain::create($this,$action,$filters)->run(); 3561 $this->_action=$priorAction; 3562 } 3563 } 3564 public function runAction($action) 3565 { |
#8 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(3545): CController->runActionWithFilters(CInlineAction, array("accessControl")) 3540 { 3541 if(($parent=$this->getModule())===null) 3542 $parent=Yii::app(); 3543 if($parent->beforeControllerAction($this,$action)) 3544 { 3545 $this->runActionWithFilters($action,$this->filters()); 3546 $parent->afterControllerAction($this,$action); 3547 } 3548 } 3549 else 3550 $this->missingAction($actionID); |
#9 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(1746): CController->run("jump") 1741 { 1742 list($controller,$actionID)=$ca; 1743 $oldController=$this->_controller; 1744 $this->_controller=$controller; 1745 $controller->init(); 1746 $controller->run($actionID); 1747 $this->_controller=$oldController; 1748 } 1749 else 1750 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1751 array('{route}'=>$route===''?$this->defaultController:$route))); |
#10 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(1666): CWebApplication->runController("seo/jump") 1661 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1662 $_GET[$name]=$value; 1663 } 1664 else 1665 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1666 $this->runController($route); 1667 } 1668 protected function registerCoreComponents() 1669 { 1670 parent::registerCoreComponents(); 1671 $components=array( |
#11 |
+
–
/var/www/tpona/data/yiiframework/yii-1.1.14.f0fee9/framework/yiilite.php(1191): CWebApplication->processRequest() 1186 public function run() 1187 { 1188 if($this->hasEventHandler('onBeginRequest')) 1189 $this->onBeginRequest(new CEvent($this)); 1190 register_shutdown_function(array($this,'end'),0,false); 1191 $this->processRequest(); 1192 if($this->hasEventHandler('onEndRequest')) 1193 $this->onEndRequest(new CEvent($this)); 1194 } 1195 public function end($status=0,$exit=true) 1196 { |
#12 |
+
–
/var/www/tpona/data/www/tvercars.ru/www/index.php(17): CApplication->run() 12 //defined('YII_DEBUG') or define('YII_DEBUG', false); 13 // specify how many levels of call stack should be shown in each log message 14 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 15 16 require_once($yii); 17 Yii::createWebApplication($config)->run(); |