Location: PHPKode > projects > Online Fantasy Football League > offl-0.2.6/www/lib/config.php
<?php
/**
 * System configuration parameters for OFFL
 *
 * Includes database connection parameters plus cookie settings
 *
 * @author Stephen Rochelle <hide@address.com>
 * @version OFFL v0.2
 * @copyright Copyright (c) 2004 Stephen Rochelle.  Some rights reserved.
 * @package offl
 */

if (strtr(__FILE__, "\\", "/") == $_SERVER["SCRIPT_FILENAME"])
{	die ("Cannot access file directly!");	}

// Name of OFFL database
define("DB_NAME", "offl_db");
// OFFL database server
define("DB_HOST", "localhost");
// OFFL database login
define("DB_USER", "offl_user");
// OFFL database password
define("DB_PASSWD", "offl_pass");
// Database server port (only if not standard)
// define("DB_PORT", "5432");
// Cookie used to remember OFFL logins
define("OFFL_COOKIE_NAME", "offl_login");

// TROUBLESHOOTING AREA
/*
	Script timeouts?  Uncomment this line
*/
// ini_set("max_execution_time", "300");
/*
	Running a web farm?  Uncomment this line and set the path appropriately
*/
// session_save_path("/path/to/session/save/directory");
/*
	If you see the following, uncomment the command below

	Warning: Unknown(): Your script possibly relies on a session side-effect which
	existed until PHP 4.2.3. Please be advised that the session extension does not
	consider global variables as a source of data, unless register_globals is enabled.
	You can disable this functionality and this warning by setting session.bug_compat_42
	or session.bug_compat_warn to off, respectively.
*/
// ini_set("session.bug_compat_warn", "0");

?>
Return current item: Online Fantasy Football League