Location: PHPKode > projects > Thin PHP Framework > conf/app_config.php
<?php
/** 
 * Thin PHP Framework (TPF) 2011 http://thinphp.com
 *
 * Licensed under TPF License at http://bit.ly/TPFLicense
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2011, Thin PHP Framework Team
 * @link          http://thinphp.com
 * @package       app.conf
 * @license       TPF License http://bit.ly/TPFLicense
 */

	// App Info
	$app_i = array(	
		'default_view'	=> 'en_default',
		'flood_limit'	=> 0,
		'cache'		=> CC_NOCACHE,
		'timezone'	=> 'America/Los_Angeles',
		'md5salt'	=> 'hide@address.com',
		'demo_mode'	=> 1
	);
	
	// Database Info - change here, then setup: run http://yourwebapp/tools/setup-db
	$db_i = array(
		'env' => 'env_test',
		'env_test' => array(
			'dbdriver' => DB_PDO_SQLITE,
			'host'     => '',
			'username' => '',
			'password' => '',
			'dbname'   => '/app/appdata/thinphp.db3'
		),
		'env_production' => array(
			'dbdriver' => DB_PDO_MYSQL,
			'host'     => 'localhost',
			'username' => 'mysqluser',
			'password' => 'mysqlpassword',
			'dbname'   => 'thinphp'
		)
	);
	
	// Memcache Info
	$memcache_i = array(
		'server'	=> 'localhost',
		'port'		=> '11211'
	);
	
	// Log Info
	$log_i = array(
		'enabled'		=> 1,
		'log_level'		=> LL_ERROR | LL_FATAL,
		'log_to'		=> LG_FILE,
		'log_file'		=> '/app/appdata/log/main.txt',
		'log_max_file_size'	=> 512000, // = 500 KB = 500*1024 bytes
		'log_max_backup_index' => 5,
		'log_pattern'	=> '{time} {name} [{type_padleft}] - {msg}',
		'log_time_format'	=> 'Y-m-d H:i:s.ms'
	);
?>
Return current item: Thin PHP Framework