From cd36d274b91a86403fce90f50b5c07ce4595c600 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 25 Sep 2011 18:22:22 +0200 Subject: [PATCH] Adding "NoCacheSource" Disables the cache entirely, useful for debugging purposes. --- com.woltlab.wcf/option.xml | 6 +- .../install/files/acp/templates/cacheList.tpl | 12 ++-- .../lib/acp/page/CacheListPage.class.php | 5 ++ .../cache/source/NoCacheSource.class.php | 64 +++++++++++++++++++ wcfsetup/install/lang/de-informal.xml | 1 + wcfsetup/install/lang/de.xml | 1 + wcfsetup/install/lang/en.xml | 1 + 7 files changed, 82 insertions(+), 8 deletions(-) create mode 100644 wcfsetup/install/files/lib/system/cache/source/NoCacheSource.class.php diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index 31812b19ed..d68febfd1d 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -312,10 +312,12 @@ debug:mail_debug_logfile_path,!mail_use_f_param,!mail_smtp_host,!mail_smtp_port, +apc:wcf.acp.option.cache_source_type.apc +no:wcf.acp.option.cache_source_type.no]]> +apc:!cache_source_memcache_host,!cache_source_memcache_use_pconnect,!enable_session_data_cache +no:!cache_source_memcache_host,!cache_source_memcache_use_pconnect,!enable_session_data_cache]]>