Location: PHPKode > scripts > PHP DataCache > php-datacachea1/DataCacheConfig.php
<?php
/**
 *	DataCache library configuration
 *
 *	A PHP Class to implement server side data caching
 *	Copyright (C) 2003 Jason E. Sweat
 *
 *	This library is free software; you can redistribute it and/or
 *	modify it under the terms of the GNU Lesser General Public
 *	License as published by the Free Software Foundation; either
 *	version 2.1 of the License, or (at your option) any later version.
 *
 *	This library is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *	Lesser General Public License for more details.
 *
 *	You should have received a copy of the GNU Lesser General Public
 *	License along with this library; if not, write to the Free Software
 *	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 *	Modification History: <pre>
 *	$Log: DataCacheConfig.php,v $
 *	Revision 1.1.1.1  2003/12/11 05:22:10  jsweat
 *	Initial check-in of PHP DataCache library.
 *	
 *	</pre>
 *	@author			Jason E. Sweat
 *	@since			2003-11-21
 *	@package		DataCache
 *	@subpackage		main
 *	@version		$Id: DataCacheConfig.php,v 1.1.1.1 2003/12/11 05:22:10 jsweat Exp $
 */

/**
 *	identifier for using file based DAO
 */
define('DATACACHE_DAOFILE', 1);
/**
 *	identifier for using postgres database based DAO
 */
define('DATACACHE_DAOPGDB', 2);
/**
 *	regular expression to validate an application identifier
 *
 *	in this case, a letter, followed by up to 15 letters or numbers
 *	the expression is case insensative
 */
define('DATACACHE_APPL_RE', '/^[a-z]{1}[a-z\d]{0,15}$/i');
/**
 *	regular expression to validate an application identifier
 *
 *	in this case, a letter, followed by up to 15 letters, numbers, underscores or dashes
 *	the expression is case insensative
 */
define('DATACACHE_IDENT_RE', '/^[a-z]{1}[-a-z\d_]{0,25}$/i');
/**
 *	path to external ADOdb library
 */
define('DATACACHE_ADODB_LIB_PATH', '.lib/adodb/');
/**
 *	should database DAO connection use persistant connections?
 */
define('DATACACHE_USE_PCONNECT', false);
/**
 *	database host for db connection
 */
define('DATACACHE_DB_HOST', '');
/**
 *	user name for db connection
 */
define('DATACACHE_DB_USER', 'datacacheuser');
/**	
 *	password for db connection
 */
define('DATACACHE_DB_PASSWD', 'datacachepass');
/**
 *	database name for db connection
 */
define('DATACACHE_DB_NAME', 'datacache');

#?>
Return current item: PHP DataCache