/** * Get cached data from server cache file * * @param boolean $toArray convert to array * @return string|array|false */ protected function getPrefCache($toArray = true) { if (!$this->pref_cache) { $this->pref_cache = ecache::retrieve_sys('Config_' . $this->alias, 24 * 60, true); } return $toArray && $this->pref_cache ? e107::getArrayStorage()->ReadArray($this->pref_cache) : $this->pref_cache; }