git-svn-id: http://svn.automattic.com/wordpress/trunk@251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle 2003-07-09 21:22:53 +00:00
parent 175f144114
commit c60046be65
1 changed files with 9 additions and 9 deletions

View File

@ -17,7 +17,7 @@ $table_prefix = 'wp_'; // eg 'wp_' or 'b2' or 'mylogin_'
$tableposts = $table_prefix . 'posts';
$tableusers = $table_prefix . 'users';
$tablesettings = $table_prefix . 'settings';
$tablesettings = $table_prefix . 'settings'; // only used during upgrade
$tablecategories = $table_prefix . 'categories';
$tablecomments = $table_prefix . 'comments';
$tablelinks = $table_prefix . 'links';
@ -33,14 +33,6 @@ $b2inc = 'b2-include';
/* Stop editing */
// setup your own smilies (if not there is a set in b2vars)
if (file_exists('mysmilies.php')) {
include('mysmilies.php');
}
// pull in the day and month translations
require_once('day-month-trans.php');
$HTTP_HOST = getenv('HTTP_HOST'); /* domain name */
$REMOTE_ADDR = getenv('REMOTE_ADDR'); /* visitor's IP */
$HTTP_USER_AGENT = getenv('HTTP_USER_AGENT'); /* visitor's browser */
@ -51,6 +43,14 @@ $passsql = DB_PASSWORD;
$base = DB_NAME;
$abspath = dirname(__FILE__).'/';
// setup your own smilies (if not there is a set in b2vars)
if (file_exists($abspath.'mysmilies.php')) {
include($abspath.'mysmilies.php');
}
// pull in the day and month translations
require_once($abspath.'day-month-trans.php');
require_once($abspath.$b2inc.'/wp-db.php');
require_once($abspath.$b2inc.'/b2functions.php');
require_once($abspath.'wp-settings.php');