/home/yildizym/public_html/framework/web/CHttpRequest.php(789)
777 /** 778 * Redirects the browser to the specified URL. 779 * @param string $url URL to be redirected to. Note that when URL is not 780 * absolute (not starting with "/") it will be relative to current request URL. 781 * @param boolean $terminate whether to terminate the current application 782 * @param integer $statusCode the HTTP status code. Defaults to 302. See {@link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html} 783 * for details about HTTP status code. 784 */ 785 public function redirect($url,$terminate=true,$statusCode=302) 786 { 787 if(strpos($url,'/')===0 && strpos($url,'//')!==0) 788 $url=$this->getHostInfo().$url; 789 header('Location: '.$url, true, $statusCode); 790 if($terminate) 791 Yii::app()->end(); 792 } 793 794 /** 795 * Returns an array of user accepted languages in order of preference. 796 * The returned language IDs will NOT be canonicalized using {@link CLocale::getCanonicalID}. 797 * @return array the user accepted languages in the order of preference. 798 * See {@link http://tools.ietf.org/html/rfc2616#section-14.4} 799 */ 800 public function getPreferredLanguages() 801 {
#0 |
+
–
/home/yildizym/public_html/framework/web/CHttpRequest.php(789): header("Location: https://www.yildizyemek.com.tr/", true, 302) 784 */ 785 public function redirect($url,$terminate=true,$statusCode=302) 786 { 787 if(strpos($url,'/')===0 && strpos($url,'//')!==0) 788 $url=$this->getHostInfo().$url; 789 header('Location: '.$url, true, $statusCode); 790 if($terminate) 791 Yii::app()->end(); 792 } 793 794 /** |
#1 |
+
–
/home/yildizym/public_html/framework/web/CController.php(1030): CHttpRequest->redirect("/", true, 302) 1025 if(is_array($url)) 1026 { 1027 $route=isset($url[0]) ? $url[0] : ''; 1028 $url=$this->createUrl($route,array_splice($url,1)); 1029 } 1030 Yii::app()->getRequest()->redirect($url,$terminate,$statusCode); 1031 } 1032 1033 /** 1034 * Refreshes the current page. 1035 * The effect of this method call is the same as user pressing the |
#2 |
+
–
/home/yildizym/public_html/protected/modules/pages/controllers/front/DefaultController.php(45): CController->redirect("/") 40 'order'=>'t.order asc' 41 ) 42 ); 43 if(!$page) { 44 45 $this->redirect($this->createUrl('/')); 46 47 } 48 49 if($page->remoteLink) 50 $this->redirect($page->remoteLink); |
#3 |
unknown(0): DefaultController->actionShow("index.html")
|
#4 |
+
–
/home/yildizym/public_html/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(DefaultController, array("index.html")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#5 |
+
–
/home/yildizym/public_html/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(DefaultController, ReflectionMethod, array("slug" => "index.html")) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#6 |
+
–
/home/yildizym/public_html/framework/web/CController.php(308): CInlineAction->runWithParams(array("slug" => "index.html")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#7 |
+
–
/home/yildizym/public_html/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#8 |
+
–
/home/yildizym/public_html/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#9 |
+
–
/home/yildizym/public_html/framework/web/CWebApplication.php(282): CController->run("show") 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))); |
#10 |
+
–
/home/yildizym/public_html/framework/web/CWebApplication.php(141): CWebApplication->runController("pages/default/show/slug/index.html") 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. |
#11 |
+
–
/home/yildizym/public_html/framework/base/CApplication.php(169): CWebApplication->processRequest() 164 public function run() 165 { 166 if($this->hasEventHandler('onBeginRequest')) 167 $this->onBeginRequest(new CEvent($this)); 168 register_shutdown_function(array($this,'end'),0,false); 169 $this->processRequest(); 170 if($this->hasEventHandler('onEndRequest')) 171 $this->onEndRequest(new CEvent($this)); 172 } 173 174 /** |
#12 |
+
–
/home/yildizym/public_html/protected/components/WebApplicationEndBehavior.php(32): CApplication->run() 27 // Attach the changeModulePaths event handler 28 // and raise it. 29 $this->onModuleCreate = array($this, 'changeModulePaths'); 30 $this->onModuleCreate(new CEvent($this->owner)); 31 32 $this->owner->run(); // Run application. 33 } 34 35 // This event should be raised when CWebApplication 36 // or CWebModule instances are being initialized. 37 public function onModuleCreate($event) |
#13 |
unknown(0): WebApplicationEndBehavior->runEnd("front")
|
#14 |
+
–
/home/yildizym/public_html/framework/base/CComponent.php(260): call_user_func_array(array(WebApplicationEndBehavior, "runEnd"), array("front")) 255 if($this->_m!==null) 256 { 257 foreach($this->_m as $object) 258 { 259 if($object->getEnabled() && method_exists($object,$name)) 260 return call_user_func_array(array($object,$name),$parameters); 261 } 262 } 263 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 264 return call_user_func_array($this->$name, $parameters); 265 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#15 |
+
–
/home/yildizym/public_html/index.php(33): CComponent->__call("runEnd", array("front")) 28 } 29 30 } 31 32 $app = new WeberWebApp($config); 33 $app->runEnd('front'); 34 |
#16 |
+
–
/home/yildizym/public_html/index.php(33): WeberWebApp->runEnd("front") 28 } 29 30 } 31 32 $app = new WeberWebApp($config); 33 $app->runEnd('front'); 34 |