#0 |
+
–
/var/www/html/www.mplus.fun/app/htmlv2/module/game/game_hero.php(8): include_once()
03 $mods = $model["mods"]["officialPage"];
04 $gameId = $mods["gameId"];
05 ?>
06 <div id="game-hero">
07 <link rel="stylesheet" href='<?=get_static("p/mplusv2/games_resource/$gameId/style.css")?>'>
08 <?php include_once(TPL_PATHV2."module/games_pages/$gameId/game.php");?>
09 <div class="login-box">
10 <form class="mplus-login-form" action="" method="POST">
11 <input name="email" placeholder="m+帳號:" />
12 <input name="password" placeholder="密碼:" type="password" />
13 <button type="submit">登入</button>
|
#1 |
+
–
/var/www/html/www.mplus.fun/app/htmlv2/game.php(20): include_once("/var/www/html/www.mplus.fun/app/htmlv2/module/game/game_hero.php")
15
16 <?php include_once(TPL_PATHV2.'module/common/header.php');?>
17
18 <div id="bd">
19 <div class="inner full-width clearfix">
20 <?php include_once(TPL_PATHV2.'module/game/game_hero.php');?>
21 <?php include_once(TPL_PATHV2.'module/game/game_nav.php');?>
22 <?php if(count($mods["game_servers"]))
23 include_once(TPL_PATHV2.'module/game/game_recent_servers.php');
24 ?>
25 <?php if(count($mods["game_servers"]))
|
#2 |
+
–
/var/www/html/www.mplus.fun/app/components/Controller.php(50): include_once("/var/www/html/www.mplus.fun/app/htmlv2/game.php")
45 $model['comm']['before_body']['title'] = $title;
46 }
47 public function displayV2($path)
48 {
49 global $model;
50 include_once(TPL_PATHV2 . $path);
51 }
52 public function setKeywordsV2($keywords) {
53 global $model;
54 $model['comm']['before_body']['keywords'] = $keywords;
55 }
|
#3 |
+
–
/var/www/html/www.mplus.fun/app/controllers/OfficialPageController.php(390): Controller-> displayV2("game.php")
385
386 $this->setPageTitleV2($pageTitle, true); //no used in v2
387 $this->setKeywordsV2($pageKeywords);
388 $this->setDescriptionV2($pageDescription);
389 $this->attach('officialPage',$data);
390 $this->displayV2("game.php");
391 }
392
393 protected function _handleOfficialPageOld($data){
394 $game = $data["game"];
395 $gameId = $game->id;
|
#4 |
+
–
/var/www/html/www.mplus.fun/app/controllers/OfficialPageController.php(251): OfficialPageController-> _handleOffcialPage(array("settings" => OfficialPage, "game" => MGame_Web, "svc" => HomeService, "events" => array(), ...))
246 "servers"=> $servers,
247 "src" => $src,
248 "version" => $version,
249 );
250 if($version >= 2){
251 $this->_handleOffcialPage($data);
252 }
253 else{
254 $this->_handleOfficialPageOld($data);
255 }
256 }catch(Exception $e){
|
#5 |
unknown(0): OfficialPageController->actionIndex("cb")
|
#6 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(3744): ReflectionMethod-> invokeArgs(OfficialPageController, array("cb"))
3739 else if($param->isDefaultValueAvailable())
3740 $ps[]=$param->getDefaultValue();
3741 else
3742 return false;
3743 }
3744 $method->invokeArgs($object,$ps);
3745 return true;
3746 }
3747 }
3748 class CInlineAction extends CAction
3749 {
|
#7 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(3761): CAction-> runWithParamsInternal(OfficialPageController, ReflectionMethod, array("gameId" => "cb"))
3756 {
3757 $methodName='action'.$this->getId();
3758 $controller=$this->getController();
3759 $method=new ReflectionMethod($controller, $methodName);
3760 if($method->getNumberOfParameters()>0)
3761 return $this->runWithParamsInternal($controller, $method, $params);
3762 else
3763 return $controller->$methodName();
3764 }
3765 }
3766 class CWebUser extends CApplicationComponent implements IWebUser
|
#8 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(3275): CInlineAction-> runWithParams(array("gameId" => "cb"))
3270 {
3271 $priorAction=$this->_action;
3272 $this->_action=$action;
3273 if($this->beforeAction($action))
3274 {
3275 if($action->runWithParams($this->getActionParams())===false)
3276 $this->invalidActionParams($action);
3277 else
3278 $this->afterAction($action);
3279 }
3280 $this->_action=$priorAction;
|
#9 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(6176): CController-> runAction(CInlineAction)
6171 {
6172 $filter=$this->itemAt($this->filterIndex++);
6173 $filter->filter($this);
6174 }
6175 else
6176 $this->controller->runAction($this->action);
6177 }
6178 }
6179 class CFilter extends CComponent implements IFilter
6180 {
6181 public function filter($filterChain)
|
#10 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(6185): CFilterChain-> run()
6180 {
6181 public function filter($filterChain)
6182 {
6183 if($this->preFilter($filterChain))
6184 {
6185 $filterChain->run();
6186 $this->postFilter($filterChain);
6187 }
6188 }
6189 public function init()
6190 {
|
#11 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(6173): CFilter-> filter(CFilterChain)
6168 public function run()
6169 {
6170 if($this->offsetExists($this->filterIndex))
6171 {
6172 $filter=$this->itemAt($this->filterIndex++);
6173 $filter->filter($this);
6174 }
6175 else
6176 $this->controller->runAction($this->action);
6177 }
6178 }
|
#12 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(6185): CFilterChain-> run()
6180 {
6181 public function filter($filterChain)
6182 {
6183 if($this->preFilter($filterChain))
6184 {
6185 $filterChain->run();
6186 $this->postFilter($filterChain);
6187 }
6188 }
6189 public function init()
6190 {
|
#13 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(6173): CFilter-> filter(CFilterChain)
6168 public function run()
6169 {
6170 if($this->offsetExists($this->filterIndex))
6171 {
6172 $filter=$this->itemAt($this->filterIndex++);
6173 $filter->filter($this);
6174 }
6175 else
6176 $this->controller->runAction($this->action);
6177 }
6178 }
|
#14 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(3265): CFilterChain-> run()
3260 $this->runAction($action);
3261 else
3262 {
3263 $priorAction=$this->_action;
3264 $this->_action=$action;
3265 CFilterChain::create($this,$action,$filters)->run();
3266 $this->_action=$priorAction;
3267 }
3268 }
3269 public function runAction($action)
3270 {
|
#15 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(3250): CController-> runActionWithFilters(CInlineAction, array(array("application.filters.CommonDataFilter"), array("application.filters.LoginStatusFilter")))
3245 {
3246 if(($parent=$this->getModule())===null)
3247 $parent=Yii::app();
3248 if($parent->beforeControllerAction($this,$action))
3249 {
3250 $this->runActionWithFilters($action,$this->filters());
3251 $parent->afterControllerAction($this,$action);
3252 }
3253 }
3254 else
3255 $this->missingAction($actionID);
|
#16 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(1689): CController-> run("index")
1684 {
1685 list($controller,$actionID)=$ca;
1686 $oldController=$this->_controller;
1687 $this->_controller=$controller;
1688 $controller->init();
1689 $controller->run($actionID);
1690 $this->_controller=$oldController;
1691 }
1692 else
1693 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
1694 array('{route}'=>$route===''?$this->defaultController:$route)));
|
#17 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(1609): CWebApplication-> runController("officialPage/index")
1604 foreach(array_splice($this->catchAllRequest,1) as $name=>$value)
1605 $_GET[$name]=$value;
1606 }
1607 else
1608 $route=$this->getUrlManager()->parseUrl($this->getRequest());
1609 $this->runController($route);
1610 }
1611 protected function registerCoreComponents()
1612 {
1613 parent::registerCoreComponents();
1614 $components=array(
|
#18 |
+
–
/usr/share/php/Yii/1.1.10/yiilite.php(1135): CWebApplication-> processRequest()
1130 }
1131 public function run()
1132 {
1133 if($this->hasEventHandler('onBeginRequest'))
1134 $this->onBeginRequest(new CEvent($this));
1135 $this->processRequest();
1136 if($this->hasEventHandler('onEndRequest'))
1137 $this->onEndRequest(new CEvent($this));
1138 }
1139 public function end($status=0, $exit=true)
1140 {
|
#19 |
+
–
/var/www/html/www.mplus.fun/htdocs/index.php(34): CApplication-> run()
29 define('APPLICATION_ENV_PRODUCTION', $env == 'production');
30 define('APPLICATION_ENV_DEVEL', $env == 'devel');
31 define('APPLICATION_ENV_TEST', $env == 'test');
32
33 require_once($yii);
34 Yii::createWebApplication($config)->run();
|