Пример #1
0
 public static function UpdateSettingsCache()
 {
     global $db, $nw_uid, $tablepre, $timestamp, $adminid, $basic_settings, $webservice_settings;
     $cur_settings = self::FetchSettings();
     foreach ($cur_settings as $key => $value) {
         $data['nowhere_settings'][$key] = $value;
     }
     CacheCore::chobits_writetocache('nowhere_settings', '', CacheCore::chobits_getcachevars($data), '', 'cache');
 }