Location: PHPKode > projects > FPCode > fpcode091/fpcode/includes/config.inc.php
<?
//
//	FPCode v0.9, Date 2002-01-11
//
//	Copyright (c) 2002 Wen-Yu Chang and FrostyPlace.com. All rights reserved.
//
//	The contents of this file constitute Original Code as defined in and
//	are subject to the GNU Library General Public License (the
//	"License").  You may not use this file except in compliance with the
//	License.  Please obtain a copy of the License at
//	http://www.gnu.org/licenses/gpl.html and read it before using this file.
//	
//	This Original Code and all software distributed under the License are
//	distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
//	EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
//	INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
//	FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
//	License for the specific language governing rights and limitations
//	under the License.
//
//
//								Site Configurations
//


	$fpconfig["dbhost"] = "YourDatabaseHost";	// The host name of the MySQL server. 
												// Usually it's 'localhost' if MySQL is on the same server as 
												// Apache web server.
	$fpconfig["dbuname"] = "fpuser";			// Name used to login MySQL DB
	$fpconfig["dbpass"] = "fpuserPassword";		// MySQL password
	$fpconfig["dbname"] = "fpcode";				// Name of the database. Unless you changed the SQL file, the value should be 'fpcode'
	$fpconfig["server_address"] = "www.your_site.com"; //the web server url (or ip address)
	$fpconfig["root_path"] = "/Library/WebServer/Documents/fpcode";	// File path to the fpcode directory.
	$fpconfig["htdoc_root"] = "/fpcode";		// http doc path to the fpcode directory.

	$fpconfig["bg_img"] = "";					// Name of the background image for the header table 
	$fpconfig["banner_img"] = "fpcodelogo.gif"; // Name of the site logo image file
	$fpconfig["site_bgcolor"] = "#FFFFFF"; 		// Background color of the site
	$fpconfig["site_name"] = "-= FP Code =-";	// Text string for the title of the window.
	
	$fpconfig["admin_email"] = "hide@address.com"; // Put the editor's email address here
	$fpconfig["cc_email"] = "";		// If you want other person to get notified also, put the email address here.
	$fpconfig["bcc_email"] = "";	// email address put in here will also be notified, but the address will not 
								 	// show up in the to: list.
								 	
	$fpconfig["anon_author_id"] = 1;		// This vaule has to match up what is set up in the sql file.
											// If you don't know what that means, DON'T CHANGE THIS.
	$fpconfig["anon_author_name"] = "§H¦W";	// This is the name will be used for anonymouse postings
	$fpconfig["dummy_passwd"] = "1234";		// The password field is unused in v0.9

	$fpconfig["time_diff"] = 0;				// Time zone diffence in hours. Set it to 0
											// if the server is in the same time zone as 
											// where your target audience live.
											
	$fpconfig["quickies_title"] = "·s»DµJÂI";	// Name displayed in the news links table.
	$fpconfig["swl_title"] = "³nÅé³sµ²";		// Name displayed in the software links table.
	$fpconfig["reports_title"] = "¯S§O³ø¾É";	// Name displayed in the report links table.
	$fpconfig["sites_title"] = "ºô¯¸³sµ²";		// Name displayed in the web site links table.

	$fpconfig["quickies_max"] = 10;			// Maximum display length for news links box.
	$fpconfig["sofware_links_max"] = 10;	// Maximum display length for software links box.
	$fpconfig["reports_max"] = 10;			// Maximum display length for reports box.
	$fpconfig["sites_max"] = 10;			// Maximum display length for reports box.
	$fpconfig["summary_max"] = 10;			// Maximum display length for news summary.

	$fpconfig["ubb_support"] = 0;			// Set it to one if you have ubb running.
	$fpconfig["ubb_uri"] = "http://your_ubb_site/cgi-bin/ultimatebb.cgi?ubb=get_topic&"; // URI to threads. Just change the 'your_ubb_site' part.
	$fpconfig["ubb_home"] = "http://your_ubb_site/cgi-bin/ultimatebb.cgi"; // Home page URL for UBB. Just change the 'your_ubb_site' part.

	$fpconfig["sendmail_support"] = 0;			// Set it to one if you have sendmail server running.


	if (1) {
		return true;	// For include check, don't change it.
	}

?>
Return current item: FPCode