/home/hgctoo5/public_html/limesurvey/framework/web/CHttpRequest.php(890)
878 /** 879 * Redirects the browser to the specified URL. 880 * @param string $url URL to be redirected to. Note that when URL is not 881 * absolute (not starting with "/") it will be relative to current request URL. 882 * @param boolean $terminate whether to terminate the current application 883 * @param integer $statusCode the HTTP status code. Defaults to 302. See {@link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html} 884 * for details about HTTP status code. 885 */ 886 public function redirect($url,$terminate=true,$statusCode=302) 887 { 888 if(strpos($url,'/')===0 && strpos($url,'//')!==0) 889 $url=$this->getHostInfo().$url; 890 header('Location: '.$url, true, $statusCode); 891 if($terminate) 892 Yii::app()->end(); 893 } 894 895 /** 896 * Parses an HTTP Accept header, returning an array map with all parts of each entry. 897 * Each array entry consists of a map with the type, subType, baseType and params, an array map of key-value parameters, 898 * obligatorily including a `q` value (i.e. preference ranking) as a double. 899 * For example, an Accept header value of <code>'application/xhtml+xml;q=0.9;level=1'</code> would give an array entry of 900 * <pre> 901 * array( 902 * 'type' => 'application',
| #0 |
+
–
/home/hgctoo5/public_html/limesurvey/framework/web/CHttpRequest.php(890): header("Location: https://hgctools.com/limesurvey/index.php/admin/authen...", true, 302) 885 */ 886 public function redirect($url,$terminate=true,$statusCode=302) 887 { 888 if(strpos($url,'/')===0 && strpos($url,'//')!==0) 889 $url=$this->getHostInfo().$url; 890 header('Location: '.$url, true, $statusCode); 891 if($terminate) 892 Yii::app()->end(); 893 } 894 895 /** |
| #1 |
+
–
/home/hgctoo5/public_html/limesurvey/framework/web/CController.php(1033): CHttpRequest->redirect("https://hgctools.com/limesurvey/index.php/admin/authentication/s...", true, 302) 1028 if(is_array($url)) 1029 { 1030 $route=isset($url[0]) ? $url[0] : ''; 1031 $url=$this->createUrl($route,array_splice($url,1)); 1032 } 1033 Yii::app()->getRequest()->redirect($url,$terminate,$statusCode); 1034 } 1035 1036 /** 1037 * Refreshes the current page. 1038 * The effect of this method call is the same as user pressing the |
| #2 |
+
–
/home/hgctoo5/public_html/limesurvey/application/controllers/AdminController.php(155): CController->redirect("/limesurvey/index.php/admin/authentication/sa/login") 150 Yii::import('application.helpers.admin.ajax_helper', true); 151 ls\ajax\AjaxHelper::outputNotLoggedIn(); 152 return; 153 } 154 155 $this->redirect(array('/admin/authentication/sa/login')); 156 } elseif (!empty($this->user_id) && $action != "remotecontrol") { 157 if (Yii::app()->session['session_hash'] != hash('sha256', getGlobalSetting('SessionName').Yii::app()->user->getName().Yii::app()->user->getId())) { 158 Yii::app()->session->clear(); 159 Yii::app()->session->close(); 160 $this->redirect(array('/admin/authentication/sa/login')); |
| #3 |
+
–
/home/hgctoo5/public_html/limesurvey/framework/web/CWebApplication.php(282): AdminController->run("expressions") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
| #4 |
+
–
/home/hgctoo5/public_html/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/expressions/sa/relevance") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
| #5 |
+
–
/home/hgctoo5/public_html/limesurvey/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
| #6 |
+
–
/home/hgctoo5/public_html/limesurvey/index.php(199): CApplication->run() 194 require_once APPPATH . 'core/LSYii_Application' . EXT; 195 196 $config = require_once(APPPATH . 'config/internal' . EXT); 197 198 Yii::$enableIncludePath = false; 199 Yii::createApplication('LSYii_Application', $config)->run(); 200 201 /* End of file index.php */ 202 /* Location: ./index.php */ |