[Phpslash-commit] CVS: phpslash-dev/include/class/jpcache jpcache-config.php,1.1.1.1,1.2 jpcache-mai
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-11-20 21:15:02
|
Update of /cvsroot/phpslash/phpslash-dev/include/class/jpcache In directory sc8-pr-cvs1:/tmp/cvs-serv29754/phpslash-dev/include/class/jpcache Modified Files: jpcache-config.php jpcache-main.php Log Message: new jpcache storage type static. Writes html files out that can be served directly by the webserver. Index: jpcache-config.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/class/jpcache/jpcache-config.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** jpcache-config.php 12 Mar 2003 16:12:51 -0000 1.1.1.1 --- jpcache-config.php 20 Nov 2003 21:14:59 -0000 1.2 *************** *** 42,46 **** $JPCACHE_DELAY_START = 0; // Immediate or manual call to jpcache_start $JPCACHE_HASHSCRIPTKEY = 1; // Hash SCRIPT-KEY or not ! /** --- 42,46 ---- $JPCACHE_DELAY_START = 0; // Immediate or manual call to jpcache_start $JPCACHE_HASHSCRIPTKEY = 1; // Hash SCRIPT-KEY or not ! $JPCACHE_HASHVARKEY = 1; // Hash VAR-KEY or not /** Index: jpcache-main.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/class/jpcache/jpcache-main.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** jpcache-main.php 12 Mar 2003 16:12:51 -0000 1.1.1.1 --- jpcache-main.php 20 Nov 2003 21:14:59 -0000 1.2 *************** *** 32,37 **** if($GLOBALS["JPCACHE_HASHSCRIPTKEY"] > 0) { $key = md5($name.$varkey); ! } else { $key = $name . md5($varkey); } } --- 32,39 ---- if($GLOBALS["JPCACHE_HASHSCRIPTKEY"] > 0) { $key = md5($name.$varkey); ! } elseif($GLOBALS["JPCACHE_HASHVARKEY"] > 0) { $key = $name . md5($varkey); + } else { + $key = $name . $varkey; } } |