コード例 #1
0
 static function ClearAllCache()
 {
     Engine::getInstance()->Cache_Clean();
     $result = ACE::ClearSmartyCache() and ACE::ClearHeadfilesCache();
     return $result;
 }
コード例 #2
0
 protected function _EventSiteResetSubmit()
 {
     $this->Security_ValidateSendForm();
     if (isPost('adm_cache_clear_data')) {
         $this->Cache_Clean();
     }
     if (isPost('adm_cache_clear_headfiles')) {
         ACE::ClearHeadfilesCache();
     }
     if (isPost('adm_cache_clear_smarty')) {
         ACE::ClearSmartyCache();
     }
     if (isPost('adm_reset_config_data')) {
         $this->_ResetCustomConfig();
     }
     $this->Message('notice', $this->Lang_Get('adm_action_ok'), null, true);
     ACE::HeaderLocation(Router::GetPath('admin') . 'site/reset/');
 }
コード例 #3
0
 static function ClearAllCache()
 {
     Engine::getInstance()->Cache_Clean();
     $result = ACE::ClearSmartyCache() and ACE::ClearHeadfilesCache();
     setcookie('ls_photoset_target_tmp', null);
     return $result;
 }