* - Do NOT alter or remove this text block * @package phpCOIN * @subpackage Configuration * @version 1.6.5 * @author Stephen M. Kitching * @copyright Copyright © 2003-2009 COINSoftTechnologies Inc. All rights reserved. * @license coin_docs/license.txt phpCOIN License Terms */ # Code to handle file being loaded by URL IF (eregi('config.php', $_SERVER['PHP_SELF'])) { Header("Location: error.php?err=01"); exit(); } # Dim misc globals. Do NOT touch this line global $_GPV, $_CCFG, $_TCFG, $_DBCFG, $_UVAR, $_LANG, $_nl, $_sp; /************************************************************** * Configuration Variables That MUST be edited **************************************************************/ # Database Configuration Array $_DBCFG['dbms'] = "mysql"; // Database System (type) $_DBCFG['dbhost'] = "[[softdbhost]]"; // Database Host $_DBCFG['dbuname'] = "[[softdbuser]]"; // User $_DBCFG['dbpass'] = "[[softdbpass]]"; // Password $_DBCFG['dbname'] = "[[softdb]]"; // Database Name $_DBCFG['table_prefix'] = "[[dbprefix]]"; // Database table prefix # Mailserver settings $_SMTP['AUTHENTICATED'] = 0; // 1 = mailserver requires authenticated session, // 0 = does NOT require authentication # The following need to be set ONLY if $_SMTP[AUTHENTICATION] = 1 $_SMTP['HOST'] = 'mail.yourdomain.com'; // FQDN or IP Address of your mailserver $_SMTP['PORT'] = 25; // Port of your mailserver $_SMTP['LOCALHOST'] = 'www.yourdomain.com'; // name of machine sending email, for HELO $_SMTP['ACC'] = 'email@yourdomain.com'; // mailserver user name $_SMTP['PASS'] = 'yourpassword'; // mailserver user password # Whether to use full urls or relative paths in links $_CCFG['USE_FULL_URL'] = 0; # Offline flag to initiate redirect in core load (1=offline,0=normal) $_CCFG['_PKG_MODE_OFFLINE'] = 0; # Ignore Offline Flag if surfer is from THIS IP (allows admin to see site as normal) # Seperate multiple IPs with commas $_CCFG['_PKG_MODE_ONLINE_IP'] = ''; # Define laguage file / decoding $_CCFG['_HC_PKG_LANG'] = 'lang_english'; // Use this lang if the next line is 0 $_CCFG['_DB_PKG_LANG_ENABLE'] = 1; // Use the lang in the database $_CCFG['ISO_CHARSET'] = 'iso-8859-1'; // Charset used for input and output. All legal charsets allowed, including UTF-8 # Theme settings $_CCFG['_HC_PKG_THEME'] = 'earthtone'; // Use this theme if the next line is 0 $_CCFG['_DB_PKG_THEME_ENABLE'] = 1; // Use the theme in the database # Shows or hides debug info for MySQL queries and server loads at page bottom # Leave this 0 for production use, 1 if you have MySQL query errors but do not know why $_CCFG['_debug_queries'] = 0; # If you have some themes or modules written for phpCOIN v1.3.1 or lower, you # can either re-write them according to /coin_docs/readme.txt OR you may simply # enable "compatibility mode". We recommend re-writing so you do not lose the # speed advantages of phpCOIN v1.4.0 $_CCFG['ENABLE_COMPATIBILITY_MODE'] = 0; # Google Adsense Ad Code # Replace this with your own code, if you have a Google Adsense Account # 120 x 600 Tower, for placing in side menu-box OR in siteinfo or FAQ or pages # The tag %GOOGLE_V% will be replaced with the following $_CCFG['ADSENSE_VERTICAL'] =' '; # Google Adsense Ad Code # Replace this with your own code, if you have a Google Adsense Account # 120 x 600 Horizontal, for placing in siteinfo or FAQ or pages. # The tag %GOOGLE_H% will be replaced with the following $_CCFG['ADSENSE_HORIZONTAL'] =' '; # Google WebMaster Tools "verification" meta tag value # If you verify your site via the meta tag, enter the value here. Use only # the string value, NOT the entire tag. For example, if Google says to add # # then enter EENdZlWC/SyqXE9pJHeejl9I0U0BoaNBp2whbNgmXgQ= as the value $_CCFG['GOOGLE_WEBMASTER'] = ''; # Config loaded flag, to prevent double-loading of non-numeric-element arrays IF (!defined('CONFIGGED')) { # All fields of a client-to-site contact form and all fields of an order and # the content of helpdesk ticket or additional messages is checked against this # array. If anything matches, it is replaced with a **** string. # This is intended to prevent hack attempts, but could just as easily be used # to remove swear words :) # To add items to remove, just copy a line and change the value $_CCFG['PARSE_USER_ENTRY'][] = '