From 9034a3a16dd7e9802c737345cdf6c64fc6246743 Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Wed, 7 Dec 2011 18:07:41 +0000 Subject: [PATCH] [gh-212] Merging from testing into staging git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@1344 20a16fea-79d4-4915-8869-1ea9d5ebf173 --- sites/all/themes/unl_wdn/template.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sites/all/themes/unl_wdn/template.php b/sites/all/themes/unl_wdn/template.php index 711d03ec0..7092fd11c 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 -- GitLab