/var/www/vhosts/akfalighting.uz/vesta/framework/caching/CCache.php(108)
096 097 /** 098 * Retrieves a value from cache with a specified key. 099 * @param string $id a key identifying the cached value 100 * @return mixed the value stored in cache, false if the value is not in the cache, expired or the dependency has changed. 101 */ 102 public function get($id) 103 { 104 $value = $this->getValue($this->generateUniqueKey($id)); 105 if($value===false || $this->serializer===false) 106 return $value; 107 if($this->serializer===null) 108 $value=unserialize($value); 109 else 110 $value=call_user_func($this->serializer[1], $value); 111 if(is_array($value) && (!$value[1] instanceof ICacheDependency || !$value[1]->getHasChanged())) 112 { 113 Yii::trace('Serving "'.$id.'" from cache','system.caching.'.get_class($this)); 114 return $value[0]; 115 } 116 else 117 return false; 118 } 119 120 /**
#0 |
+
–
/var/www/vhosts/akfalighting.uz/vesta/framework/caching/CCache.php(108): unserialize("}") 103 { 104 $value = $this->getValue($this->generateUniqueKey($id)); 105 if($value===false || $this->serializer===false) 106 return $value; 107 if($this->serializer===null) 108 $value=unserialize($value); 109 else 110 $value=call_user_func($this->serializer[1], $value); 111 if(is_array($value) && (!$value[1] instanceof ICacheDependency || !$value[1]->getHasChanged())) 112 { 113 Yii::trace('Serving "'.$id.'" from cache','system.caching.'.get_class($this)); |
#1 |
+
–
/var/www/vhosts/akfalighting.uz/vesta/framework/web/CUrlManager.php(219): CCache->get("Yii.CUrlManager.rules") 214 if(empty($this->rules) || $this->getUrlFormat()===self::GET_FORMAT) 215 return; 216 if($this->cacheID!==false && ($cache=Yii::app()->getComponent($this->cacheID))!==null) 217 { 218 $hash=md5(serialize($this->rules)); 219 if(($data=$cache->get(self::CACHE_KEY))!==false && isset($data[1]) && $data[1]===$hash) 220 { 221 $this->_rules=$data[0]; 222 return; 223 } 224 } |
#2 |
+
–
/var/www/vhosts/akfalighting.uz/vesta/framework/web/CUrlManager.php(206): CUrlManager->processRules() 201 * Initializes the application component. 202 */ 203 public function init() 204 { 205 parent::init(); 206 $this->processRules(); 207 } 208 209 /** 210 * Processes the URL rules. 211 */ |
#3 |
+
–
/var/www/vhosts/akfalighting.uz/vesta/protected/components/Router.php(14): CUrlManager->init() 09 private $languageId; 10 private $languageCode; 11 12 public function init() 13 { 14 parent::init(); 15 $aLanguages = Language::getLanguageForSite(); 16 $this->setLanguages($aLanguages); 17 } 18 19 private function setWebpage(Webpage $mWebpage) |
#4 |
+
–
/var/www/vhosts/akfalighting.uz/vesta/framework/base/CModule.php(387): Router->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 |
#5 |
+
–
/var/www/vhosts/akfalighting.uz/vesta/framework/base/CApplication.php(522): CModule->getComponent("urlManager") 517 * Returns the URL manager component. 518 * @return CUrlManager the URL manager component 519 */ 520 public function getUrlManager() 521 { 522 return $this->getComponent('urlManager'); 523 } 524 525 /** 526 * @return CController the currently active controller. Null is returned in this base class. 527 * @since 1.1.8 |
#6 |
+
–
/var/www/vhosts/akfalighting.uz/vesta/framework/web/CWebApplication.php(140): CApplication->getUrlManager() 135 $route=$this->catchAllRequest[0]; 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. |
#7 |
+
–
/var/www/vhosts/akfalighting.uz/vesta/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 /** |
#8 |
+
–
/var/www/vhosts/akfalighting.uz/vesta/index.php(17): CApplication->run() 12 header("Location: /",TRUE,301); 13 exit(); 14 } 15 16 require_once($yii); 17 Yii::createWebApplication($config)->run(); 18 |