/home/ducistech/innovationsinc.in/html/website/framework/web/CHttpRequest.php(763)
751 /** 752 * Redirects the browser to the specified URL. 753 * @param string $url URL to be redirected to. If the URL is a relative one, the base URL of 754 * the application will be inserted at the beginning. 755 * @param boolean $terminate whether to terminate the current application 756 * @param integer $statusCode the HTTP status code. Defaults to 302. See {@link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html} 757 * for details about HTTP status code. 758 */ 759 public function redirect($url,$terminate=true,$statusCode=302) 760 { 761 if(strpos($url,'/')===0) 762 $url=$this->getHostInfo().$url; 763 header('Location: '.$url, true, $statusCode); 764 if($terminate) 765 Yii::app()->end(); 766 } 767 768 /** 769 * Returns the user preferred language. 770 * The returned language ID will be canonicalized using {@link CLocale::getCanonicalID}. 771 * This method returns false if the user does not have language preference. 772 * @return string the user preferred language. 773 */ 774 public function getPreferredLanguage() 775 {
| #0 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/CHttpRequest.php(763): header("Location: https://innovationsinc.in/index.php?r=site/login", true, 302) 758 */ 759 public function redirect($url,$terminate=true,$statusCode=302) 760 { 761 if(strpos($url,'/')===0) 762 $url=$this->getHostInfo().$url; 763 header('Location: '.$url, true, $statusCode); 764 if($terminate) 765 Yii::app()->end(); 766 } 767 768 /** |
| #1 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/auth/CWebUser.php(374): CHttpRequest->redirect("https://innovationsinc.in/index.php?r=site/login") 369 if(is_array($url)) 370 { 371 $route=isset($url[0]) ? $url[0] : $app->defaultController; 372 $url=$app->createUrl($route,array_splice($url,1)); 373 } 374 $request->redirect($url); 375 } 376 else 377 throw new CHttpException(403,Yii::t('yii','Login Required')); 378 } 379 |
| #2 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/auth/CAccessControlFilter.php(168): CWebUser->loginRequired() 163 * @param string $message the error message to be displayed 164 */ 165 protected function accessDenied($user,$message) 166 { 167 if($user->getIsGuest()) 168 $user->loginRequired(); 169 else 170 throw new CHttpException(403,$message); 171 } 172 } 173 |
| #3 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/auth/CAccessControlFilter.php(133): CAccessControlFilter->accessDenied(CWebUser, "You are not authorized to perform this action.") 128 else if($allow<0) // denied 129 { 130 if(isset($rule->deniedCallback)) 131 call_user_func($rule->deniedCallback, $rule); 132 else 133 $this->accessDenied($user,$this->resolveErrorMessage($rule)); 134 return false; 135 } 136 } 137 138 return true; |
| #4 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/filters/CFilter.php(39): CAccessControlFilter->preFilter(CFilterChain) 34 * if the action should be executed. 35 * @param CFilterChain $filterChain the filter chain that the filter is on. 36 */ 37 public function filter($filterChain) 38 { 39 if($this->preFilter($filterChain)) 40 { 41 $filterChain->run(); 42 $this->postFilter($filterChain); 43 } 44 } |
| #5 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/CController.php(1146): CFilter->filter(CFilterChain) 1141 */ 1142 public function filterAccessControl($filterChain) 1143 { 1144 $filter=new CAccessControlFilter; 1145 $filter->setRules($this->accessRules()); 1146 $filter->filter($filterChain); 1147 } 1148 1149 /** 1150 * Returns a persistent page state value. 1151 * A page state is a variable that is persistent across POST requests of the same page. |
| #6 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(CFilterChain) 54 * @param CFilterChain $filterChain the filter chain that the filter is on. 55 */ 56 public function filter($filterChain) 57 { 58 $method='filter'.$this->name; 59 $filterChain->controller->$method($filterChain); 60 } 61 } |
| #7 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(CFilterChain) 126 { 127 if($this->offsetExists($this->filterIndex)) 128 { 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
| #8 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/CController.php(292): CFilterChain->run() 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); 293 $this->_action=$priorAction; 294 } 295 } 296 297 /** |
| #9 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array("accessControl")) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
| #10 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/CWebApplication.php(283): CController->run("admin") 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); 283 $controller->run($actionID); 284 $this->_controller=$oldController; 285 } 286 else 287 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 288 array('{route}'=>$route===''?$this->defaultController:$route))); |
| #11 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/web/CWebApplication.php(142): CWebApplication->runController("categories/admin") 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
| #12 |
+
–
/home/ducistech/innovationsinc.in/html/website/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
| #13 |
+
–
/home/ducistech/innovationsinc.in/html/index.php(14): CApplication->run() 09 defined('YII_DEBUG') or define('YII_DEBUG',true); 10 // specify how many levels of call stack should be shown in each log message 11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 12 13 require_once($yii); 14 Yii::createWebApplication($config)->run(); |