<?php
/************************************
* Cadence
* Remotely Hosted Guestbook Script.
* (c) 2006, Dennis Pedrie
* www.CadenceBook.com
* config.php
***********************************
* Cadence Guestbook is licensed under
* a Creative Commons License.
* More information is available by visiting
* http://creativecommons.org/licenses/by/3.0/
* or the LICENSE file in the Cadence Root Folder
***********************************/
$CONFIG['url'] = "http://dinkinflicka.net/cadence/"; //Full URL, with a trailing slash (/)
$CONFIG['path'] = "/home/dennisp/public_html/cadence/"; // Full Path with a trailing slash.
$CONFIG['host_title'] = "Biff's Books";
$CONFIG['lang'] = "en";
$CONFIG['sql_prefix'] = "gb_";
$CONFIG['sql_user'] = "dennisp_dennisp";
$CONFIG['sql_pass'] = "susej";
$CONFIG['sql_dbname'] = "dennisp_portal";
$CONFIG['sql_host'] = "localhost";
$CONFIG['db_driver'] = "mysql";
$CONFIG['debug'] = false;
$CONFIG['cookie_prefix'] = "gb_";
$CONFIG['use_captcha'] = false;
$CONFIG['use_rewrite'] = true;
// ACP Settings
$CONFIG['num_news'] = 2;
$CONFIG['perpage'] = 15;
$CONFIG['show_global_ban'] = false;
// DO NOT EDIT.
$CONFIG['cadence_version'] = "1.0 Beta1";
// CAPTHCA Settings. Adjust as needed.
$CAPTCHA = array(
'tempfolder' => $CONFIG['path'].'/cache/', // string: absolute path (with trailing slash!) to a writeable tempfolder which is also accessible via HTTP!
'TTF_folder' => $CONFIG['path'].'/sources/fonts/', // string: absolute path (with trailing slash!) to folder which contains your TrueType-Fontfiles.
// mixed (array or string): basename(s) of TrueType-Fontfiles
'TTF_RANGE' => array('comic.ttf','kartika.ttf','CATHSGBR.TTF','LucidaBrightItalic.ttf','vrinda.ttf','smiTe.ttf'),
// 'TTF_RANGE' => 'COMIC.TTF',
'chars' => 5, // integer: number of chars to use for ID
'minsize' => 20, // integer: minimal size of chars
'maxsize' => 30, // integer: maximal size of chars
'maxrotation' => 25, // integer: define the maximal angle for char-rotation, good results are between 0 and 30
'noise' => TRUE, // boolean: TRUE = noisy chars | FALSE = grid
'websafecolors' => FALSE, // boolean
'refreshlink' => false, // boolean
'lang' => 'en', // string: ['en'|'de']
'maxtry' => 3, // integer: [1-9]
'badguys_url' => '/', // string: URL
'secretstring' => 'A very, very secret string which is used to generate a md5-key!',
'secretposition' => 24, // integer: [1-32]
'debug' => FALSE,
'counter_filename' => '', // string: absolute filename for textfile which stores current counter-value. Needs read- & write-access!
'prefix' => 'hn_captcha_', // string: prefix for the captcha-images, is needed to identify the files in shared tempfolders
'collect_garbage_after' => 20, // integer: the garbage-collector run once after this number of script-calls
'maxlifetime' => 60 // integer: only imagefiles which are older than this amount of seconds will be deleted
);
?>