/var/www/solutions/protected/controllers/GameController.php(24)
12 public function actionGameList() { 13 14 15 $this->render('list', array()); 16 } 17 18 public function actionGameone() { 19 $id = $this->p('id'); 20 21 if (!empty($id)) 22 { 23 $lang= Yii::app()->language; 24 $content = file_get_contents("http://content.stargame.solutions/api/content/get/".$id."/".$lang); 25 // $content = file_get_contents("http://local.content/api/content/get/".$id."/".$lang); 26 27 if (empty($content)) 28 { 29 $game = Games::model()->findByAttributes(array('api_id' => $id)); 30 31 $content = null; 32 if(empty($game)){ 33 $content = $content = SystemService::getContent('in_develop'); 34 } 35 } 36 else
#0 |
+
–
/var/www/solutions/protected/controllers/GameController.php(24): file_get_contents("http://content.stargame.solutions/api/content/get/155/ko") 19 $id = $this->p('id'); 20 21 if (!empty($id)) 22 { 23 $lang= Yii::app()->language; 24 $content = file_get_contents("http://content.stargame.solutions/api/content/get/".$id."/".$lang); 25 // $content = file_get_contents("http://local.content/api/content/get/".$id."/".$lang); 26 27 if (empty($content)) 28 { 29 $game = Games::model()->findByAttributes(array('api_id' => $id)); |
#1 |
+
–
/var/www/solutions/yii/framework/web/actions/CInlineAction.php(50): GameController->actionGameone() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#2 |
+
–
/var/www/solutions/yii/framework/web/CController.php(300): CInlineAction->runWithParams(array("q" => "ko/games/game155", "language" => "ko", "id" => "155")) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#3 |
+
–
/var/www/solutions/yii/framework/web/CController.php(278): CController->runAction(CInlineAction) 273 * @see runAction 274 */ 275 public function runActionWithFilters($action,$filters) 276 { 277 if(empty($filters)) 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); |
#4 |
+
–
/var/www/solutions/yii/framework/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array()) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#5 |
+
–
/var/www/solutions/yii/framework/web/CWebApplication.php(277): CController->run("gameone") 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); 277 $controller->run($actionID); 278 $this->_controller=$oldController; 279 } 280 else 281 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 282 array('{route}'=>$route===''?$this->defaultController:$route))); |
#6 |
+
–
/var/www/solutions/yii/framework/web/CWebApplication.php(136): CWebApplication->runController("game/gameone") 131 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 132 $_GET[$name]=$value; 133 } 134 else 135 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#7 |
+
–
/var/www/solutions/yii/framework/base/CApplication.php(158): CWebApplication->processRequest() 153 */ 154 public function run() 155 { 156 if($this->hasEventHandler('onBeginRequest')) 157 $this->onBeginRequest(new CEvent($this)); 158 $this->processRequest(); 159 if($this->hasEventHandler('onEndRequest')) 160 $this->onEndRequest(new CEvent($this)); 161 } 162 163 /** |
#8 |
+
–
/var/www/solutions/index.php(23): CApplication->run() 18 defined('YII_DEBUG') or define('YII_DEBUG',true); 19 // specify how many levels of call stack should be shown in each log message 20 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 21 22 require_once($yii); 23 Yii::createWebApplication($config)->run(); 24 25 ?> |