/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/framework/yiilite.php(2432)
2420 } 2421 2422 public function getCookies() { 2423 if ($this->_cookies !== null) 2424 return $this->_cookies; 2425 else 2426 return $this->_cookies = new CCookieCollection($this); 2427 } 2428 2429 public function redirect($url, $terminate = true, $statusCode = 302) { 2430 if (strpos($url, '/') === 0 && strpos($url, '//') !== 0) 2431 $url = $this->getHostInfo() . $url; 2432 header('Location: ' . $url, true, $statusCode); 2433 if ($terminate) 2434 Yii::app()->end(); 2435 } 2436 2437 public static function parseAcceptHeader($header) { 2438 $matches = array(); 2439 $accepts = array(); 2440 // get individual entries with their type, subtype, basetype and params 2441 preg_match_all('/(?:\G\s?,\s?|^)(\w+|\*)\/(\w+|\*)(?:\+(\w+))?|(?<!^)\G(?:\s?;\s?(\w+)=([\w\.]+))/', $header, $matches); 2442 // the regexp should (in theory) always return an array of 6 arrays 2443 if (count($matches) === 6) { 2444 $i = 0;
#0 |
+
–
/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/framework/yiilite.php(2432): header("Location: https://vinsysinfo.com/admin/user/login", true, 302) 2427 } 2428 2429 public function redirect($url, $terminate = true, $statusCode = 302) { 2430 if (strpos($url, '/') === 0 && strpos($url, '//') !== 0) 2431 $url = $this->getHostInfo() . $url; 2432 header('Location: ' . $url, true, $statusCode); 2433 if ($terminate) 2434 Yii::app()->end(); 2435 } 2436 2437 public static function parseAcceptHeader($header) { |
#1 |
+
–
/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/framework/yiilite.php(3610): CHttpRequest->redirect("https://vinsysinfo.com/admin/user/login", true, 302) 3605 public function redirect($url, $terminate = true, $statusCode = 302) { 3606 if (is_array($url)) { 3607 $route = isset($url[0]) ? $url[0] : ''; 3608 $url = $this->createUrl($route, array_splice($url, 1)); 3609 } 3610 Yii::app()->getRequest()->redirect($url, $terminate, $statusCode); 3611 } 3612 3613 public function refresh($terminate = true, $anchor = '') { 3614 $this->redirect(Yii::app()->getRequest()->getUrl() . $anchor, $terminate); 3615 } |
#2 |
+
–
/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/protected/controllers/SiteController.php(37): CController->redirect("/admin/user/login") 32 { 33 34 35 if(Yii::app()->user->isGuest) 36 { 37 $this->redirect(array('user/login')); 38 } 39 else 40 { 41 42 $this->redirect(array('/user/dashboard')); |
#3 |
+
–
/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/framework/yiilite.php(3768): SiteController->actionIndex() 3763 $controller = $this->getController(); 3764 $method = new ReflectionMethod($controller, $methodName); 3765 if ($method->getNumberOfParameters() > 0) 3766 return $this->runWithParamsInternal($controller, $method, $params); 3767 else 3768 return $controller->$methodName(); 3769 } 3770 3771 } 3772 3773 class CWebUser extends CApplicationComponent implements IWebUser { |
#4 |
+
–
/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/framework/yiilite.php(3300): CInlineAction->runWithParams(array()) 3295 3296 public function runAction($action) { 3297 $priorAction = $this->_action; 3298 $this->_action = $action; 3299 if ($this->beforeAction($action)) { 3300 if ($action->runWithParams($this->getActionParams()) === false) 3301 $this->invalidActionParams($action); 3302 else 3303 $this->afterAction($action); 3304 } 3305 $this->_action = $priorAction; |
#5 |
+
–
/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/framework/yiilite.php(3287): CController->runAction(CInlineAction) 3282 $this->missingAction($actionID); 3283 } 3284 3285 public function runActionWithFilters($action, $filters) { 3286 if (empty($filters)) 3287 $this->runAction($action); 3288 else { 3289 $priorAction = $this->_action; 3290 $this->_action = $action; 3291 CFilterChain::create($this, $action, $filters)->run(); 3292 $this->_action = $priorAction; |
#6 |
+
–
/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/framework/yiilite.php(3278): CController->runActionWithFilters(CInlineAction, array()) 3273 public function run($actionID) { 3274 if (($action = $this->createAction($actionID)) !== null) { 3275 if (($parent = $this->getModule()) === null) 3276 $parent = Yii::app(); 3277 if ($parent->beforeControllerAction($this, $action)) { 3278 $this->runActionWithFilters($action, $this->filters()); 3279 $parent->afterControllerAction($this, $action); 3280 } 3281 } else 3282 $this->missingAction($actionID); 3283 } |
#7 |
+
–
/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/framework/yiilite.php(1617): CController->run("") 1612 if (($ca = $this->createController($route)) !== null) { 1613 list($controller, $actionID) = $ca; 1614 $oldController = $this->_controller; 1615 $this->_controller = $controller; 1616 $controller->init(); 1617 $controller->run($actionID); 1618 $this->_controller = $oldController; 1619 } else 1620 throw new CHttpException(404, Yii::t('yii', 'Unable to resolve the request "{route}".', array('{route}' => $route === '' ? $this->defaultController : $route))); 1621 } 1622 |
#8 |
+
–
/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/framework/yiilite.php(1538): CWebApplication->runController("") 1533 $route = $this->catchAllRequest[0]; 1534 foreach (array_splice($this->catchAllRequest, 1) as $name => $value) 1535 $_GET[$name] = $value; 1536 } else 1537 $route = $this->getUrlManager()->parseUrl($this->getRequest()); 1538 $this->runController($route); 1539 } 1540 1541 protected function registerCoreComponents() { 1542 parent::registerCoreComponents(); 1543 $components = array( |
#9 |
+
–
/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/framework/yiilite.php(1097): CWebApplication->processRequest() 1092 1093 public function run() { 1094 if ($this->hasEventHandler('onBeginRequest')) 1095 $this->onBeginRequest(new CEvent($this)); 1096 register_shutdown_function(array($this, 'end'), 0, false); 1097 $this->processRequest(); 1098 if ($this->hasEventHandler('onEndRequest')) 1099 $this->onEndRequest(new CEvent($this)); 1100 } 1101 1102 public function end($status = 0, $exit = true) { |
#10 |
+
–
/data/25/2/134/34/2623360/user/2878059/htdocs/vinsysWebsite/web/admin/index.php(6): CApplication->run() 1 <?php 2 3 require (dirname(__FILE__).'/common.php'); 4 5 require_once($yii); 6 Yii::createWebApplication($config)->run(); |