[pLog-svn] r5366 - plog/branches/lifetype-1.2/class/data/captcha

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Apr 29 09:58:07 EDT 2007


Author: oscar
Date: 2007-04-29 09:58:07 -0400 (Sun, 29 Apr 2007)
New Revision: 5366

Modified:
   plog/branches/lifetype-1.2/class/data/captcha/captcha.class.php
Log:
Added some commented code in case users move the temporary folder outside of the web server tree.

Modified: plog/branches/lifetype-1.2/class/data/captcha/captcha.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/data/captcha/captcha.class.php	2007-04-29 13:52:27 UTC (rev 5365)
+++ plog/branches/lifetype-1.2/class/data/captcha/captcha.class.php	2007-04-29 13:58:07 UTC (rev 5366)
@@ -59,6 +59,11 @@
 			
 			$config =& Config::getConfig();
 			$this->cacheFolder = $config->getValue( "temp_folder", CAPTCHA_CACHE_FOLDER );
+			/**
+			 * Activate the line below and comment the line above if you have moved
+			 * your temporary folder outside of the web server tree
+			 */
+			//$this->cacheFolder = CAPTCHA_CACHE_FOLDER;
 			
 			$this->key = CAPTCHA_DEFAULT_KEY;
 			$this->expiredTime = CAPTCHA_DEFAULT_EXPIRATION_TIME;



More information about the pLog-svn mailing list