[pLog-svn] r720 - plog/trunk/class/view

oscar at devel.plogworld.net oscar at devel.plogworld.net
Mon Jan 10 13:17:10 GMT 2005


Author: oscar
Date: 2005-01-10 13:17:10 +0000 (Mon, 10 Jan 2005)
New Revision: 720

Modified:
   plog/trunk/class/view/smartyview.class.php
Log:
if the template cache is not enabled, the http cache cannot be enabled either!! (one can't go without the other, basically)


Modified: plog/trunk/class/view/smartyview.class.php
===================================================================
--- plog/trunk/class/view/smartyview.class.php	2005-01-10 13:12:02 UTC (rev 719)
+++ plog/trunk/class/view/smartyview.class.php	2005-01-10 13:17:10 UTC (rev 720)
@@ -139,7 +139,12 @@
 		{
 			$config =& Config::getConfig();
 			
-			return( $config->getValue( "template_http_cache_enabled" ));
+			if( $config->getValue( "template_cache_enabled" ))
+				$httpCacheEnabled = $config->getValue( "template_http_cache_enabled" ));
+			else
+				$httpCacheEnabled = false;
+
+			return( $httpCacheEnabled );
 		}
 
         /**




More information about the pLog-svn mailing list