|
From: Benjamin C. <bc...@us...> - 2005-06-04 19:02:53
|
Update of /cvsroot/phpbt/phpbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17283 Modified Files: config.php include.php Log Message: Cleaning up a bit Index: config.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/config.php,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- config.php 25 Oct 2004 12:06:57 -0000 1.40 +++ config.php 4 Jun 2005 19:02:43 -0000 1.41 @@ -1,8 +1,7 @@ <?php - // config.php - Set up configuration options // ------------------------------------------------------------------------ -// Copyright (c) 2001 - 2003 The phpBugTracker Group +// Copyright (c) 2001 - 2004 The phpBugTracker Group // ------------------------------------------------------------------------ // This file is part of phpBugTracker // @@ -22,23 +21,18 @@ // ------------------------------------------------------------------------ // $Id$ -define ('PHPLIB_PATH', ''); // If PHPlib is not in your include path - // Database Config -define ('DB_TYPE', 'mysql'); // using PHPlib file naming -define ('DB_HOST', 'localhost'); -define ('DB_DATABASE', 'BugTracker'); -define ('DB_USER', 'root'); -define ('DB_PASSWORD', ''); - -// Smarty templates location (leave blank if Smarty is in include path) -// If not blank, make sure the trailing slash is present. -define ('SMARTY_PATH', ''); +define ('DB_TYPE', 'mysql'); // using PEAR::DB naming (mysql, pgsql, etc.) +define ('DB_HOST', 'localhost'); // hostname of database server +define ('DB_DATABASE', 'bug_tracker'); // database name +define ('DB_USER', ''); // username for database connection +define ('DB_PASSWORD', ''); // password for database connection // Database Table Config // you can change either the prefix of the table names or each table name individually define ('CUR_DB_VERSION', 4); // the version of the database define ('TBL_PREFIX', ''); // the prefix for all tables, leave empty to use the old style + define ('TBL_ACTIVE_SESSIONS', TBL_PREFIX.'active_sessions'); define ('TBL_DB_SEQUENCE', TBL_PREFIX.'db_sequence'); define ('TBL_ATTACHMENT', TBL_PREFIX.'attachment'); @@ -67,11 +61,11 @@ define ('TBL_VERSION', TBL_PREFIX.'version'); define ('TBL_PROJECT_GROUP', TBL_PREFIX.'project_group'); define ('TBL_PROJECT_PERM', TBL_PREFIX.'project_perm'); -define ('TBL_DATABASE', TBL_PREFIX.'database_server'); +define ('TBL_DATABASE', TBL_PREFIX.'database_server'); define ('TBL_SITE', TBL_PREFIX.'site'); define ('ONEDAY', 86400); -require_once ('inc/auth.php'); +require_once (dirname(__FILE__).'/inc/auth.php'); ?> Index: include.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/include.php,v retrieving revision 1.131 retrieving revision 1.132 diff -u -r1.131 -r1.132 --- include.php 4 Jun 2005 18:55:45 -0000 1.131 +++ include.php 4 Jun 2005 19:02:43 -0000 1.132 @@ -22,6 +22,7 @@ // ------------------------------------------------------------------------ // $Id$ +define('PHPBT_VERSION', '1.0rc6'); ini_set("magic_quotes_runtime", 0); ini_set("magic_quotes_sybase", 0); @ini_set("session.save_handler", "files"); |