Beispiel #1
0
 function __cleanupService()
 {
     if (isset($_ENV['SOFTHOOKS']['SHUTDOWN'])) {
         foreach ($_ENV['SOFTHOOKS']['SHUTDOWN'] as $hook) {
             executeUserParams($hook["FUNC"], $hook["OBJ"]);
         }
     }
     if (function_exists("runHooks")) {
         runHooks("serviceClose");
     }
     // saveSettings();
     // saveSiteSettings();
     saveSession();
     MetaCache::getInstance()->dumpAllCache();
     DataCache::getInstance()->dumpAllCache();
     Database::closeAll();
 }
Beispiel #2
0
 function _metaCacheUpdate($group, $srcFile, $data)
 {
     $metaCache = MetaCache::getInstance();
     return $metaCache->setMetaFor($group, $srcFile, $data);
 }