e
/home/eceton/public_html/protected/controllers/SitemapController.php(69)
57 $urls[] = [ 58 'loc'=>Yii::app()->createAbsoluteUrl("/$items->restaurant_slug"), 59 'lastmod'=>Date_Formatter::date($items->date_modified,"yyyy-MM-dd"), 60 'changefreq'=>"weekly", 61 'priority'=>"1.0" 62 ]; 63 } 64 } 65 66 // dump($urls); 67 // die(); 68 69 header('Content-type: text/xml'); 70 echo $this->renderPartial('index', array('urls' => $urls), true); 71 } 72 } 73 // end class
#0 |
+
–
/home/eceton/public_html/protected/controllers/SitemapController.php(69): header("Content-type: text/xml") 64 } 65 66 // dump($urls); 67 // die(); 68 69 header('Content-type: text/xml'); 70 echo $this->renderPartial('index', array('urls' => $urls), true); 71 } 72 } 73 // end class |
#1 |
+
–
/home/eceton/public_html/framework/yiilite.php(4248): SitemapController->actionIndex() 4243 $methodName='action'.$this->getId(); 4244 $controller=$this->getController(); 4245 $method=new ReflectionMethod($controller, $methodName); 4246 if($method->getNumberOfParameters()>0) 4247 return $this->runWithParamsInternal($controller, $method, $params); 4248 $controller->$methodName(); 4249 return true; 4250 } 4251 } 4252 class CWebUser extends CApplicationComponent implements IWebUser 4253 { |
#2 |
+
–
/home/eceton/public_html/framework/yiilite.php(3757): CInlineAction->runWithParams(array()) 3752 { 3753 $priorAction=$this->_action; 3754 $this->_action=$action; 3755 if($this->beforeAction($action)) 3756 { 3757 if($action->runWithParams($this->getActionParams())===false) 3758 $this->invalidActionParams($action); 3759 else 3760 $this->afterAction($action); 3761 } 3762 $this->_action=$priorAction; |
#3 |
+
–
/home/eceton/public_html/framework/yiilite.php(3742): CController->runAction(CInlineAction) 3737 $this->missingAction($actionID); 3738 } 3739 public function runActionWithFilters($action,$filters) 3740 { 3741 if(empty($filters)) 3742 $this->runAction($action); 3743 else 3744 { 3745 $priorAction=$this->_action; 3746 $this->_action=$action; 3747 CFilterChain::create($this,$action,$filters)->run(); |
#4 |
+
–
/home/eceton/public_html/framework/yiilite.php(3732): CController->runActionWithFilters(CInlineAction, array()) 3727 { 3728 if(($parent=$this->getModule())===null) 3729 $parent=Yii::app(); 3730 if($parent->beforeControllerAction($this,$action)) 3731 { 3732 $this->runActionWithFilters($action,$this->filters()); 3733 $parent->afterControllerAction($this,$action); 3734 } 3735 } 3736 else 3737 $this->missingAction($actionID); |
#5 |
+
–
/home/eceton/public_html/framework/yiilite.php(1797): CController->run("index") 1792 { 1793 list($controller,$actionID)=$ca; 1794 $oldController=$this->_controller; 1795 $this->_controller=$controller; 1796 $controller->init(); 1797 $controller->run($actionID); 1798 $this->_controller=$oldController; 1799 } 1800 else 1801 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1802 array('{route}'=>$route===''?$this->defaultController:$route))); |
#6 |
+
–
/home/eceton/public_html/framework/yiilite.php(1717): CWebApplication->runController("sitemap/index") 1712 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1713 $_GET[$name]=$value; 1714 } 1715 else 1716 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1717 $this->runController($route); 1718 } 1719 protected function registerCoreComponents() 1720 { 1721 parent::registerCoreComponents(); 1722 $components=array( |
#7 |
+
–
/home/eceton/public_html/framework/yiilite.php(1236): CWebApplication->processRequest() 1231 public function run() 1232 { 1233 if($this->hasEventHandler('onBeginRequest')) 1234 $this->onBeginRequest(new CEvent($this)); 1235 register_shutdown_function(array($this,'end'),0,false); 1236 $this->processRequest(); 1237 if($this->hasEventHandler('onEndRequest')) 1238 $this->onEndRequest(new CEvent($this)); 1239 } 1240 public function end($status=0,$exit=true) 1241 { |
#8 |
+
–
/home/eceton/public_html/index.php(17): CApplication->run() 12 13 // remove the following line when in production mode 14 defined('YII_DEBUG') or define('YII_DEBUG',true); 15 16 require_once($yii); 17 Yii::createWebApplication($config)->run(); |