/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/web/CHttpSession.php(245)
233 * The effect of this method only lasts for the duration of the script. 234 * Call this method before the session starts. 235 * @param array $value cookie parameters, valid keys include: lifetime, path, 236 * domain, secure, httponly. Note that httponly is all lowercase. 237 * @see http://us2.php.net/manual/en/function.session-set-cookie-params.php 238 */ 239 public function setCookieParams($value) 240 { 241 $data=session_get_cookie_params(); 242 extract($data); 243 extract($value); 244 if(isset($httponly)) 245 session_set_cookie_params($lifetime,$path,$domain,$secure,$httponly); 246 else 247 session_set_cookie_params($lifetime,$path,$domain,$secure); 248 } 249 250 /** 251 * @return string how to use cookie to store session ID. Defaults to 'Allow'. 252 */ 253 public function getCookieMode() 254 { 255 if(ini_get('session.use_cookies')==='0') 256 return 'none'; 257 elseif(ini_get('session.use_only_cookies')==='0')
#0 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/web/CHttpSession.php(245): session_set_cookie_params(0, "/", "", false, ...) 240 { 241 $data=session_get_cookie_params(); 242 extract($data); 243 extract($value); 244 if(isset($httponly)) 245 session_set_cookie_params($lifetime,$path,$domain,$secure,$httponly); 246 else 247 session_set_cookie_params($lifetime,$path,$domain,$secure); 248 } 249 250 /** |
#1 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/base/CComponent.php(152): CHttpSession->setCookieParams(array("httponly" => true)) 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 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/YiiBase.php(220): CComponent->__set("cookieParams", array("httponly" => true)) 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 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/base/CModule.php(393): YiiBase::createComponent(array("cookieParams" => array("httponly" => true))) 388 $config=$this->_componentConfig[$id]; 389 if(!isset($config['enabled']) || $config['enabled']) 390 { 391 Yii::trace("Loading \"$id\" application component",'system.CModule'); 392 unset($config['enabled']); 393 $component=Yii::createComponent($config); 394 $component->init(); 395 return $this->_components[$id]=$component; 396 } 397 } 398 } |
#4 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/base/CModule.php(103): CModule->getComponent("session") 098 * @return mixed the named property value 099 */ 100 public function __get($name) 101 { 102 if($this->hasComponent($name)) 103 return $this->getComponent($name); 104 else 105 return parent::__get($name); 106 } 107 108 /** |
#5 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/application/core/LSYii_Controller.php(35): CModule->__get("session") 30 public function __construct($id, $module = null) 31 { 32 parent::__construct($id, $module); 33 $this->_checkInstallation(); 34 35 Yii::app()->session->init(); 36 $this->loadLibrary('LS.LS'); 37 // This will setConfig from database 38 $this->loadHelper('globalsettings'); 39 $this->loadHelper('common'); 40 $this->loadHelper('expressions.em_manager'); |
#6 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/web/CWebApplication.php(359): LSYii_Controller->__construct("survey", null) 354 require($classFile); 355 if(class_exists($className,false) && is_subclass_of($className,'CController')) 356 { 357 $id[0]=strtolower($id[0]); 358 return array( 359 new $className($controllerID.$id,$owner===$this?null:$owner), 360 $this->parseActionParams($route), 361 ); 362 } 363 return null; 364 } |
#7 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/web/CWebApplication.php(276): CWebApplication->createController("index/sid/855596/") 271 * @param string $route the route of the current request. See {@link createController} for more details. 272 * @throws CHttpException if the controller could not be created. 273 */ 274 public function runController($route) 275 { 276 if(($ca=$this->createController($route))!==null) 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); |
#8 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/sid/855596") 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. |
#9 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/base/CApplication.php(184): CWebApplication->processRequest() 179 public function run() 180 { 181 if($this->hasEventHandler('onBeginRequest')) 182 $this->onBeginRequest(new CEvent($this)); 183 register_shutdown_function(array($this,'end'),0,false); 184 $this->processRequest(); 185 if($this->hasEventHandler('onEndRequest')) 186 $this->onEndRequest(new CEvent($this)); 187 } 188 189 /** |
#10 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/index.php(211): CApplication->run() 206 die (sprintf('%s should be writable by the webserver (766 or 776).', $runtimePath)); 207 } 208 } 209 210 Yii::$enableIncludePath = false; 211 Yii::createApplication('LSYii_Application', $config)->run(); 212 213 /* End of file index.php */ 214 /* Location: ./index.php */ |