/home4/ukdofgrb/public_html/vendor/yiisoft/yii/framework/web/CHttpSession.php(244)
232 * The effect of this method only lasts for the duration of the script. 233 * Call this method before the session starts. 234 * @param array $value cookie parameters, valid keys include: lifetime, path, 235 * domain, secure, httponly. Note that httponly is all lowercase. 236 * @see http://us2.php.net/manual/en/function.session-set-cookie-params.php 237 */ 238 public function setCookieParams($value) 239 { 240 $data=session_get_cookie_params(); 241 extract($data); 242 extract($value); 243 if(isset($httponly)) 244 session_set_cookie_params($lifetime,$path,$domain,$secure,$httponly); 245 else 246 session_set_cookie_params($lifetime,$path,$domain,$secure); 247 } 248 249 /** 250 * @return string how to use cookie to store session ID. Defaults to 'Allow'. 251 */ 252 public function getCookieMode() 253 { 254 if(ini_get('session.use_cookies')==='0') 255 return 'none'; 256 elseif(ini_get('session.use_only_cookies')==='0')
#0 |
+
–
/home4/ukdofgrb/public_html/vendor/yiisoft/yii/framework/web/CHttpSession.php(244): session_set_cookie_params(0, "/", "", false, ...) 239 { 240 $data=session_get_cookie_params(); 241 extract($data); 242 extract($value); 243 if(isset($httponly)) 244 session_set_cookie_params($lifetime,$path,$domain,$secure,$httponly); 245 else 246 session_set_cookie_params($lifetime,$path,$domain,$secure); 247 } 248 249 /** |
#1 |
+
–
/home4/ukdofgrb/public_html/vendor/yiisoft/yii/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 |
+
–
/home4/ukdofgrb/public_html/vendor/yiisoft/yii/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 |
+
–
/home4/ukdofgrb/public_html/vendor/yiisoft/yii/framework/base/CModule.php(386): YiiBase::createComponent(array("cookieParams" => array("httponly" => true))) 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 |
+
–
/home4/ukdofgrb/public_html/vendor/yiisoft/yii/framework/web/CWebApplication.php(201): CModule->getComponent("session") 196 /** 197 * @return CHttpSession the session component 198 */ 199 public function getSession() 200 { 201 return $this->getComponent('session'); 202 } 203 204 /** 205 * @return CWebUser the user session information 206 */ |
#5 |
+
–
/home4/ukdofgrb/public_html/vendor/yiisoft/yii/framework/web/auth/CWebUser.php(199): CWebApplication->getSession() 194 * performing cookie-based authentication if enabled, and updating the flash variables. 195 */ 196 public function init() 197 { 198 parent::init(); 199 Yii::app()->getSession()->open(); 200 if($this->getIsGuest() && $this->allowAutoLogin) 201 $this->restoreFromCookie(); 202 elseif($this->autoRenewCookie && $this->allowAutoLogin) 203 $this->renewCookie(); 204 if($this->autoUpdateFlash) |
#6 |
+
–
/home4/ukdofgrb/public_html/vendor/yiisoft/yii/framework/base/CModule.php(387): CWebUser->init() 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 } 392 |
#7 |
+
–
/home4/ukdofgrb/public_html/vendor/yiisoft/yii/framework/base/CModule.php(103): CModule->getComponent("user") 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 /** |
#8 |
+
–
/home4/ukdofgrb/public_html/protected/modules/yupe/components/urlManager/LanguageBehavior.php(207): CModule->__get("user") 202 * @return void 203 */ 204 protected function setLanguage($language) 205 { 206 // Устанавливаем состояние языка: 207 Yii::app()->user->setState(Yii::app()->urlManager->langParam, $language); 208 209 try { 210 if (Yii::app()->getModule('yupe')->cache) { 211 Yii::app()->getRequest()->cookies->add( 212 Yii::app()->urlManager->langParam, |
#9 |
+
–
/home4/ukdofgrb/public_html/protected/modules/yupe/components/urlManager/LanguageBehavior.php(164): yupe\components\urlManager\LanguageBehavior->setLanguage("ru") 159 1 160 ) == '/' 161 ); 162 163 $this->setLanguage( 164 $this->getLang() 165 ); 166 167 // Если не передан язык не нативный: 168 if ($langIsset === false && $lm->getAppLang() !== $this->getLang()) { 169 Yii::app()->getRequest()->redirect( |
#10 |
+
–
/home4/ukdofgrb/public_html/vendor/yiisoft/yii/framework/base/CComponent.php(561): yupe\components\urlManager\LanguageBehavior->handleLanguageBehavior(CEvent) 556 // an array: 0 - object, 1 - method name 557 list($object,$method)=$handler; 558 if(is_string($object)) // static method call 559 call_user_func($handler,$event); 560 elseif(method_exists($object,$method)) 561 $object->$method($event); 562 else 563 throw new CException(Yii::t('yii','Event "{class}.{event}" is attached with an invalid handler "{handler}".', 564 array('{class}'=>get_class($this), '{event}'=>$name, '{handler}'=>$handler[1]))); 565 } 566 else // PHP 5.3: anonymous function |
#11 |
+
–
/home4/ukdofgrb/public_html/vendor/yiisoft/yii/framework/base/CApplication.php(207): CComponent->raiseEvent("onbeginrequest", CEvent) 202 * Raised right BEFORE the application processes the request. 203 * @param CEvent $event the event parameter 204 */ 205 public function onBeginRequest($event) 206 { 207 $this->raiseEvent('onBeginRequest',$event); 208 } 209 210 /** 211 * Raised right AFTER the application processes the request. 212 * @param CEvent $event the event parameter |
#12 |
+
–
/home4/ukdofgrb/public_html/vendor/yiisoft/yii/framework/base/CApplication.php(178): CApplication->onBeginRequest(CEvent) 173 * Remember to call the parent implementation so that static application components are loaded. 174 */ 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 } |
#13 |
+
–
/home4/ukdofgrb/public_html/index.php(35): CApplication->run() 30 $confManager = new yupe\components\ConfigManager(); 31 $confManager->sentEnv(\yupe\components\ConfigManager::ENV_WEB); 32 33 require dirname(__FILE__) . '/vendor/autoload.php'; 34 35 Yii::createWebApplication($confManager->merge($base))->run(); |