Location: PHPKode > projects > Runner > runner_include/config.php
<?php
/**********************************************************************
 * 
 *                       Configuration File
 * 
 **********************************************************************
 *  Copyright 2008
 * 
 *  This file is part of Runner.
 * 
 *  Runner is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 * 
 *  Runner 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 General Public License for more details.
 * 
 *  You should have received a copy of the GNU General Public License
 *  along with Runner.  If not, see <http://www.gnu.org/licenses/>.
 *
 *  
*/

	/*    Tells the pages we have been configured  */
define(CONFIG, TRUE);
define(DEBUG, '0'); // 0=NONE, 1=Messages, 2=Errors, 3=Messages+Errors+Pre_Executed
	/*          Directory root 
	 * (directory containing index.php) */

define(ROOT_DIR, "./");
define(WEBSITE, "http://runner.jboxlive.com/");

	/*        Set the current template Design 
 	 * ( just the filename (we know where to look) ) */

define(TEMPLATE_DESIGN, "templates/slim.tpl");	

	/* 	Set Time Zone 	*/

date_default_timezone_set('America/New_York');

	/* 	Date And Time Format		*/

//Moth day, year (Jan 1st 2009)
define (DATE_FORMAT, "M jS, o");
//Hour : Minute when (12:20 am)
define (TIME_FORMAT, "g:i a");

	/* 	Template cache system		*/

// Cache compiled pages
define(CACHE_RUNNER, 'no');
//Relitive to root diectory
define(CACHE_DIR, './cache');
//Extention of cache files
define(CACHE_EXT, '.cache');
//Time in seconds to keep cached page (time)
define(CACHE_TIME, '600'); // 10 min = 600; 1 day = 86400; 2 days = 172800 




	/* 	SQL Connection 	*
	 * 
	 * Not used in Runner 
	 * but included for convinience */
define (DB_SERVER   , 'localhost');
define (DB_USERNAME , 'username');
define (DB_PASSWORD , 'password');
define (DB_PREFIX   , 'db_');
define (DB_MAIN_DB  , 'website');

?>
Return current item: Runner