mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Configuration extras now in a single file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1556042c08
commit
64c719ca2e
@ -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';
|
||||
|
||||
?>
|
@ -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',
|
||||
);
|
||||
|
||||
?>
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user