From 50344b19c02aee8d457c63d0fafdf2b793c62d98 Mon Sep 17 00:00:00 2001 From: Ian Date: Sun, 8 Jun 2014 19:27:56 +0200 Subject: [PATCH] get ready for Smarty apc caching --- .../Smarty/libs/plugins/cacheresource.apc.php | 61 +++++++++++++++++++ include/serendipity_smarty_class.inc.php | 4 ++ 2 files changed, 65 insertions(+) create mode 100644 bundled-libs/Smarty/libs/plugins/cacheresource.apc.php diff --git a/bundled-libs/Smarty/libs/plugins/cacheresource.apc.php b/bundled-libs/Smarty/libs/plugins/cacheresource.apc.php new file mode 100644 index 00000000..8c1d639b --- /dev/null +++ b/bundled-libs/Smarty/libs/plugins/cacheresource.apc.php @@ -0,0 +1,61 @@ +addPluginsDir ( SMARTY_DIR . 'plugins/' ); + #apc-cache# $this->caching_type = 'apc'; //$this->setCachingType ( 'apc' ); + /* Caching is disabled, as long as we haven't figured out on how to use it best here....