Location: PHPKode > projects > Buzzword > buzzword-0.8.12/includes/default-config.inc

 * buzzword
 * Copyright (c) 2003 Jon Tai
 * $Id: default-config.inc 343 2004-04-21 07:25:56Z jon $
 * This file is part of buzzword.
 * buzzword is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * buzzword is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with buzzword; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

// md5'd password for administration mode

// database settings
define('DB_HOST', '%%DB_HOST%%');
define('DB_USER', '%%DB_USER%%');
define('DB_PASS', '%%DB_PASS%%');
define('DB_NAME', '%%DB_NAME%%');
define('DB_PREFIX', '%%DB_PREFIX%%');

// buzzword version
require_once '../includes/version.inc';

// common functions
require_once '../includes/common.inc';

// caching functions
require_once '../includes/cache.inc';

// display functions
require_once '../includes/display.inc';

// relevance functions
require_once '../includes/relevance.inc';

// preferences functions
require_once '../includes/preferences.inc';

// database functions
require_once '../includes/database.inc';

// schema
require_once '../includes/schema.inc';

// date display formats
set_default_pref('buzzword_date_format', 's', 'm.d.Y');
set_default_pref('buzzword_time_format', 's', 'h.ia');

// string lengths
set_default_pref('buzzword_short_title_length', 'i', 30);
set_default_pref('buzzword_short_desc_length', 'i', 600);

// how many related items to show
// (0 disables relevance, -1 means no limit)
set_default_pref('buzzword_relevance_limit', 'i', 3);

// if set to true, relevance displays only links
// to relevant items (no meta data)
set_default_pref('buzzword_relevance_terse', 'b', FALSE);

// path to ispell
set_default_pref('buzzword_ispell_path', 's', '/usr/bin/ispell');

// use output gz compression
set_default_pref('buzzword_ob_gzhandler', 'b', FALSE);

// administrator email
// you can leave this blank to disable emails
set_default_pref('buzzword_admin_email', 's', '');

// perform login
require_once '../includes/login.inc';

// load other modules
require_once '../includes/modules.inc';

Return current item: Buzzword