/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/web/CHttpSession.php(340)
328 * @return integer the number of seconds after which data will be seen as 'garbage' and cleaned up, defaults to 1440 seconds. 329 */ 330 public function getTimeout() 331 { 332 return (int)ini_get('session.gc_maxlifetime'); 333 } 334 335 /** 336 * @param integer $value the number of seconds after which data will be seen as 'garbage' and cleaned up 337 */ 338 public function setTimeout($value) 339 { 340 ini_set('session.gc_maxlifetime',$value); 341 } 342 343 /** 344 * Session open handler. 345 * This method should be overridden if {@link useCustomStorage} is set true. 346 * Do not call this method directly. 347 * @param string $savePath session save path 348 * @param string $sessionName session name 349 * @return boolean whether session is opened successfully 350 */ 351 public function openSession($savePath,$sessionName) 352 {
#0 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/web/CHttpSession.php(340): ini_set("session.gc_maxlifetime", "3600") 335 /** 336 * @param integer $value the number of seconds after which data will be seen as 'garbage' and cleaned up 337 */ 338 public function setTimeout($value) 339 { 340 ini_set('session.gc_maxlifetime',$value); 341 } 342 343 /** 344 * Session open handler. 345 * This method should be overridden if {@link useCustomStorage} is set true. |
#1 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/base/CComponent.php(152): CHttpSession->setTimeout(3600) 147 */ 148 public function __set($name,$value) 149 { 150 $setter='set'.$name; 151 if(method_exists($this,$setter)) 152 return $this->$setter($value); 153 elseif(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) 154 { 155 // duplicating getEventHandlers() here for performance 156 $name=strtolower($name); 157 if(!isset($this->_e[$name])) |
#2 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/YiiBase.php(220): CComponent->__set("timeout", 3600) 215 } 216 else 217 $object=new $type; 218 219 foreach($config as $key=>$value) 220 $object->$key=$value; 221 222 return $object; 223 } 224 225 /** |
#3 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/base/CModule.php(386): YiiBase::createComponent(array("timeout" => 3600)) 381 $config=$this->_componentConfig[$id]; 382 if(!isset($config['enabled']) || $config['enabled']) 383 { 384 Yii::trace("Loading \"$id\" application component",'system.CModule'); 385 unset($config['enabled']); 386 $component=Yii::createComponent($config); 387 $component->init(); 388 return $this->_components[$id]=$component; 389 } 390 } 391 } |
#4 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/base/CModule.php(118): CModule->getComponent("session") 113 * @return boolean whether the property value is null 114 */ 115 public function __isset($name) 116 { 117 if($this->hasComponent($name)) 118 return $this->getComponent($name)!==null; 119 else 120 return parent::__isset($name); 121 } 122 123 /** |
#5 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/protected/views/layouts/market.php(38): CModule->__isset("session") 33 <body> 34 <header class="lulutop"> 35 <div class="container market-top"> 36 37 <div class="fl"> 38 <?php if(!isset(Yii::app()->session["first"])){?> 39 <a href="/"><img class="lulogo" src="<?php echo Yii::app()->baseUrl;?>/assets/index/images/logo.png" alt=""></a> 40 <?php }else{?> 41 <a href="/affiliate"><img class="lulogo" src="<?php echo Yii::app()->baseUrl;?>/assets/index/images/logo.png" alt=""></a> 42 <?php }?> 43 </div> |
#6 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/web/CBaseController.php(126): require("/homepages/46/d829343105/htdocs/letstravel/en_ly/protected/views...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#7 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/web/CBaseController.php(95): CBaseController->renderInternal("/homepages/46/d829343105/htdocs/letstravel/en_ly/protected/views...", array("content" => "<link type="text/css" rel="stylesheet" href="/assets/index/js/sw..."), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#8 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/web/CController.php(784): CBaseController->renderFile("/homepages/46/d829343105/htdocs/letstravel/en_ly/protected/views...", array("content" => "<link type="text/css" rel="stylesheet" href="/assets/index/js/sw..."), true) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 788 $output=$this->processOutput($output); 789 |
#9 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/protected/controllers/MarketController.php(193): CController->render("album", array("model" => PwycAlbum, "pic" => array(array(PwycPic, PwycPic, PwycPic, PwycPic, ...), array(PwycPic, PwycPic, PwycPic, PwycPic, ...), array(PwycPic, PwycPic, PwycPic, PwycPic, ...), array(PwycPic, PwycPic, PwycPic, PwycPic, ...)))) 188 foreach($pic as $key=>$v){ 189 $mo =$key%4; 190 $arr[$mo][]=$v; 191 } 192 } 193 $this->render('album',array('model'=>$album,'pic'=>$arr)); 194 } 195 //用来判断相册是否存在 196 public function getpicmodel($id){ 197 $model=PwycAlbum::model()->find(array('condition'=>"sort='$id'")); 198 if($model){ |
#10 |
unknown(0): MarketController->actionAlbum("13")
|
#11 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(MarketController, array("13")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#12 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(MarketController, ReflectionMethod, array("id" => "13")) 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 } |
#13 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/web/CController.php(308): CInlineAction->runWithParams(array("id" => "13")) 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; |
#14 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/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(); |
#15 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/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); |
#16 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/web/CWebApplication.php(282): CController->run("album") 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))); |
#17 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/web/CWebApplication.php(141): CWebApplication->runController("market/album") 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. |
#18 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#19 |
+
–
/homepages/46/d829343105/htdocs/letstravel/en_ly/index.php(14): CApplication->run() 09 defined('YII_DEBUG') or define('YII_DEBUG',true); 10 // specify how many levels of call stack should be shown in each log message 11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 12 13 require_once($yii); 14 Yii::createWebApplication($config)->run(); 15 16 17 function isRedirect($redirecturl) 18 { 19 if(isset($_COOKIE['letsravel_area'])){ |