[Phpslash-commit] CVS: phpslash-dev/public_html config-dist.php,1.37,1.38
Brought to you by:
joestewart,
nhruby
From: Luis M <le...@us...> - 2004-11-17 17:35:12
|
Update of /cvsroot/phpslash/phpslash-dev/public_html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5079 Modified Files: config-dist.php Log Message: added sensible defaults to set jpcache.fileprefix to jpc if none found Index: config-dist.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config-dist.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** config-dist.php 17 Nov 2004 17:29:35 -0000 1.37 --- config-dist.php 17 Nov 2004 17:35:01 -0000 1.38 *************** *** 339,345 **** // generated files. Please use a dedicated // directory, and make it writable ! $JPCACHE_FILEPREFIX = $_PSL['jpcache.fileprefix'];// Prefix used in the filename. This enables ! // us to (more accuratly) recognize jpcache- ! // files. $JPCACHE_VERSION = "2.0.0rc1"; --- 339,347 ---- // generated files. Please use a dedicated // directory, and make it writable ! if ( !empty ($_PSL['jpcache.fileprefix']) ) { ! $JPCACHE_FILEPREFIX = $_PSL['jpcache.fileprefix']; ! } else { ! $JPCACHE_FILEPREFIX = "jpc"; ! } $JPCACHE_VERSION = "2.0.0rc1"; *************** *** 422,427 **** } elseif($_PSL['jpcache.enable'] == 'file') { $JPCACHE_TYPE = "file"; ! $JPCACHE_DIR = $_PSL['jpcache.cachedir']; ! $JPCACHE_FILEPREFIX = $_PSL['jpcache.fileprefix']; addLibraryRequirement("jpcache",$_PSL['jpcache.classdir'] ."/type/$JPCACHE_TYPE.php"); --- 424,433 ---- } elseif($_PSL['jpcache.enable'] == 'file') { $JPCACHE_TYPE = "file"; ! $JPCACHE_DIR = $_PSL['jpcache.cachedir']; ! if ( !empty ($_PSL['jpcache.fileprefix']) ) { ! $JPCACHE_FILEPREFIX = $_PSL['jpcache.fileprefix']; ! } else { ! $JPCACHE_FILEPREFIX = "jpc"; ! } addLibraryRequirement("jpcache",$_PSL['jpcache.classdir'] ."/type/$JPCACHE_TYPE.php"); |