diff --git a/sites/all/themes/unl_wdn/template.php b/sites/all/themes/unl_wdn/template.php index 711d03ec0daab1a3b13317daca3c51bd8a158a9f..7092fd11c8f6ce7386e91bd6b2fa38d519e0cc50 100644 --- a/sites/all/themes/unl_wdn/template.php +++ b/sites/all/themes/unl_wdn/template.php @@ -153,7 +153,10 @@ function unl_wdn_get_instance() { if (!$instance) { set_include_path(dirname(__FILE__) . '/lib/php'); require_once "UNL/Templates.php"; + require_once "UNL/Templates/CachingService/Null.php"; + // Use NULL caching service so templates are pulled from local tpl_cache + UNL_Templates::setCachingService(new UNL_Templates_CachingService_Null()); UNL_Templates::$options['version'] = UNL_Templates::VERSION3; // Set a default template