[pLog-svn] r6113 - in plog/branches/lifetype-1.2: class/cache config

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Dec 15 12:50:00 EST 2007


Author: jondaley
Date: 2007-12-15 12:50:00 -0500 (Sat, 15 Dec 2007)
New Revision: 6113

Modified:
   plog/branches/lifetype-1.2/class/cache/cachemanager.class.php
   plog/branches/lifetype-1.2/config/cache.properties.php
Log:
cachemanager now support turning off the filename protection, for easier debugging

Modified: plog/branches/lifetype-1.2/class/cache/cachemanager.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/cache/cachemanager.class.php	2007-12-15 17:47:42 UTC (rev 6112)
+++ plog/branches/lifetype-1.2/class/cache/cachemanager.class.php	2007-12-15 17:50:00 UTC (rev 6113)
@@ -60,10 +60,11 @@
 						'readControl' => $config->getValue( 'cache_lite_read_control', false ),
 						'automaticSerialization' => $config->getValue( 'cache_lite_automatic_serialization', true ),
 						'hashedDirectoryLevel' => $config->getValue( 'cache_lite_hashed_directory_level', 2 ),
+						'fileNameProtection' => $config->getValue( 'cache_lite_filename_protection', true ),
 						'caching' => $cacheEnabled
 	                );
 
-	                // build a new cache object
+                        // build a new cache object
 	                $cache = new Cache( $cacheParameter);
 				}
             }

Modified: plog/branches/lifetype-1.2/config/cache.properties.php
===================================================================
--- plog/branches/lifetype-1.2/config/cache.properties.php	2007-12-15 17:47:42 UTC (rev 6112)
+++ plog/branches/lifetype-1.2/config/cache.properties.php	2007-12-15 17:50:00 UTC (rev 6113)
@@ -15,6 +15,7 @@
 $config["cache_lite_read_control"] = false;
 $config["cache_lite_automatic_serialization"] = true;
 $config["cache_lite_hashed_directory_level"] = 2;
+$config["cache_lite_filename_protection"] = true;
 
 #
 # cache settings for Memcached



More information about the pLog-svn mailing list