Configuration extras now in a single file.

git-svn-id: https://develop.svn.wordpress.org/trunk@269 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little 2003-07-23 21:38:10 +00:00
parent 48271088e7
commit abff00b592
3 changed files with 29 additions and 32 deletions

View File

@ -1,25 +0,0 @@
<?php
// the weekdays and the months.. translate them if necessary
$weekday[0]='Sunday';
$weekday[1]='Monday';
$weekday[2]='Tuesday';
$weekday[3]='Wednesday';
$weekday[4]='Thursday';
$weekday[5]='Friday';
$weekday[6]='Saturday';
// the months, translate them if necessary - note: this isn't active everywhere yet
$month['01']='January';
$month['02']='February';
$month['03']='March';
$month['04']='April';
$month['05']='May';
$month['06']='June';
$month['07']='July';
$month['08']='August';
$month['09']='September';
$month['10']='October';
$month['11']='November';
$month['12']='December';
?>

View File

@ -1,4 +1,30 @@
<?php
// this file contains customizable arrays for smilies, weekdays and month names.
// the weekdays and the months.. translate them if necessary
$weekday[0]='Sunday';
$weekday[1]='Monday';
$weekday[2]='Tuesday';
$weekday[3]='Wednesday';
$weekday[4]='Thursday';
$weekday[5]='Friday';
$weekday[6]='Saturday';
// the months, translate them if necessary - note: this isn't active everywhere yet
$month['01']='January';
$month['02']='February';
$month['03']='March';
$month['04']='April';
$month['05']='May';
$month['06']='June';
$month['07']='July';
$month['08']='August';
$month['09']='September';
$month['10']='October';
$month['11']='November';
$month['12']='December';
// here's the conversion table, you can modify it if you know what you're doing
$b2smiliestrans = array(
':)' => 'icon_smile.gif',
@ -47,4 +73,5 @@ $b2smiliestrans = array(
':neutral:' => 'icon_neutral.gif',
':mrgreen:' => 'icon_mrgreen.gif',
);
?>

View File

@ -43,14 +43,9 @@ $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');
// pull in the day and month translations and the smilies
require_once($abspath.'wp-config-extra.php');
require_once($abspath.$b2inc.'/wp-db.php');
require_once($abspath.$b2inc.'/b2functions.php');
require_once($abspath.'wp-settings.php');