public function indexAction()
 {
     Translation_Model_Manager::generate();
     Centurion_Signal::factory('clean_cache')->send($this);
     Centurion_Loader_PluginLoader::cleanCache(Centurion_Loader_PluginLoader::getIncludeFileCache());
     Centurion_Loader_PluginLoader::setStaticCachePlugin(null);
 }
Пример #2
0
 public function clearCacheAction()
 {
     //$caches = array();
     //        foreach (Centurion_Config_Manager::get('resources.cachemanager') as $key => $value) {
     //            Zend_Cache::_makeBackend($value['backend']['name'], $value['backend']['options'])->clean(Zend_Cache::CLEANING_MODE_ALL);
     //        }
     Centurion_Signal::factory('clean_cache')->send($this);
     Centurion_Loader_PluginLoader::cleanCache(Centurion_Loader_PluginLoader::getIncludeFileCache());
     Centurion_Loader_PluginLoader::setStaticCachePlugin(null);
 }