D:\php\nginx-1.2.4\yii\framework\web\CMsgController.php(39)
27 { 28 $lang = null; 29 if(isset($_REQUEST["lang"])&&$_REQUEST["lang"]!="") 30 { 31 Yii::app()->language=$_REQUEST["lang"]; 32 setcookie("lang",$_REQUEST["lang"], time()+60*60*24*30); 33 }else if(isset($_COOKIE["lang"])&&$_COOKIE["lang"]!="") 34 { 35 Yii::app()->language=$_COOKIE["lang"]; 36 setcookie("lang",$_COOKIE["lang"], time()+60*60*24*30); 37 }else 38 { 39 $lang=explode(',',$_SERVER['HTTP_ACCEPT_LANGUAGE']); 40 Yii::app()->language=strtolower(str_replace('-','_',$lang[0])); 41 setcookie("lang",Yii::app()->language, time()+60*60*24*30); 42 } 43 } 44 } 45 46 ?>
#0 |
+
–
D:\php\nginx-1.2.4\yii\framework\web\CMsgController.php(17): CMsgController->setlanguage() 12 public $menu=array(); 13 public function __construct($id, $module = null) 14 { 15 parent::__construct($id, $module = null); 16 // TODO - Insert your code here 17 $this->setlanguage(); 18 } 19 function __destruct() 20 { 21 22 } |
#1 |
+
–
D:\php\nginx-1.2.4\yii\framework\web\CMsgSingleController.php(21): CMsgController->__construct("msg", null) 16 public $__showLevel1=1;//公司叶子内部 17 public $__showLevel2=2;//集团内部树 18 public $__showLevel3=3;//私信 19 public function __construct($id, $module = null) 20 { 21 parent::__construct($id, $module = null); 22 // TODO - Insert your code here 23 24 } 25 26 // msg begin |
#2 |
+
–
D:\php\nginx-1.2.4\yii\framework\web\CWebApplication.php(360): CMsgSingleController->__construct("msg", null) 355 require($classFile); 356 if(class_exists($className,false) && is_subclass_of($className,'CController')) 357 { 358 $id[0]=strtolower($id[0]); 359 return array( 360 new $className($controllerID.$id,$owner===$this?null:$owner), 361 $this->parseActionParams($route), 362 ); 363 } 364 return null; 365 } |
#3 |
+
–
D:\php\nginx-1.2.4\yii\framework\web\CWebApplication.php(277): CWebApplication->createController("msg/create2") 272 * @param string $route the route of the current request. See {@link createController} for more details. 273 * @throws CHttpException if the controller could not be created. 274 */ 275 public function runController($route) 276 { 277 if(($ca=$this->createController($route))!==null) 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); |
#4 |
+
–
D:\php\nginx-1.2.4\yii\framework\web\CWebApplication.php(142): CWebApplication->runController("msg/create2") 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
#5 |
+
–
D:\php\nginx-1.2.4\yii\framework\base\CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#6 |
+
–
D:\php\nginx-1.2.4\yii\vgt\index.php(127): CApplication->run() 122 // echo "You are not authorized to perform this action"; 123 // echo "the system is upgrading, please wait..."; 124 // } 125 // else 126 // { 127 Yii::createWebApplication($config)->run(); 128 // } 129 } 130 else 131 { 132 Yii::createWebApplication($config)->run(); |