More changes for new admin path. Removed relocated files.
Moved some more files from b2-include to wp-admin. git-svn-id: http://svn.automattic.com/wordpress/trunk@40 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
155
b2config.php
155
b2config.php
@@ -5,13 +5,13 @@
|
||||
* */
|
||||
|
||||
|
||||
# Reminder: everything that starts with #, /* or // is a comment
|
||||
// Reminder: everything that starts with #, /* or // is a comment
|
||||
|
||||
/* Start editing */
|
||||
|
||||
# $siteurl is your blog's URL: for example, 'http://mydomain.com' (no trailing slash !)
|
||||
# $blogfilename is the name of the default file for your blog
|
||||
# $blogname is the name of your blog
|
||||
// $siteurl is your blog's URL: for example, 'http://mydomain.com' (no trailing slash !)
|
||||
// $blogfilename is the name of the default file for your blog
|
||||
// $blogname is the name of your blog
|
||||
|
||||
$siteurl = 'http://example.com';
|
||||
$blogfilename = 'index.php';
|
||||
@@ -20,38 +20,38 @@ $blogdescription = "babblings !";
|
||||
|
||||
|
||||
|
||||
# $pathserver is where you have uploaded b2: for example, 'http://mydomain.com' (no ending slash !)
|
||||
# by default b2 is set to run in the folder your blog resides, same as $siteurl
|
||||
// $pathserver is where you have uploaded b2: for example, 'http://mydomain.com' (no ending slash !)
|
||||
// by default b2 is set to run in the folder your blog resides, same as $siteurl
|
||||
|
||||
$pathserver = 'http://example.com';
|
||||
|
||||
|
||||
# your email (obvious eh ?)
|
||||
// your email (obvious eh ?)
|
||||
$admin_email = 'you@example.com';
|
||||
|
||||
|
||||
# set this to 0 or 1, whether you want new users to be able to post entries once they registered
|
||||
// set this to 0 or 1, whether you want new users to be able to post entries once they registered
|
||||
$new_users_can_blog = 0;
|
||||
|
||||
|
||||
# set this to 0 or 1, whether you want to allow users to register on your blog.
|
||||
// set this to 0 or 1, whether you want to allow users to register on your blog.
|
||||
$users_can_register = 1;
|
||||
|
||||
|
||||
# day at the start of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, etc
|
||||
// day at the start of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, etc
|
||||
$start_of_week = 1;
|
||||
|
||||
|
||||
|
||||
// ** MySQL settings **
|
||||
|
||||
# fill with your database details
|
||||
// fill with your database details
|
||||
$dbname = 'b2'; // the name of the database
|
||||
$dbusername = 'user'; // your MySQL username
|
||||
$dbpassword = 'pass'; // ...and password
|
||||
$dbhost = 'localhost'; // 99% chances you won't need to change this value
|
||||
|
||||
# database tables' names (change them if you want to have multiple b2's in a single database)
|
||||
// database tables' names (change them if you want to have multiple b2's in a single database)
|
||||
$tableposts = 'b2posts';
|
||||
$tableusers = 'b2users';
|
||||
$tablesettings = 'b2settings';
|
||||
@@ -61,7 +61,7 @@ $tablecomments = 'b2comments';
|
||||
|
||||
// ** Post preview function **
|
||||
|
||||
# set this to 1 if you want to use the 'preview' function
|
||||
// set this to 1 if you want to use the 'preview' function
|
||||
$use_preview = 1;
|
||||
|
||||
|
||||
@@ -69,137 +69,137 @@ $use_preview = 1;
|
||||
// ** Spell Checker functions **
|
||||
|
||||
|
||||
# set this to 0 to disable the spell checker, or 1 to enable it
|
||||
// set this to 0 to disable the spell checker, or 1 to enable it
|
||||
$use_spellchecker = 0;
|
||||
|
||||
|
||||
|
||||
// ** Text formatting options **
|
||||
|
||||
# these options can help you format your text without using too much html
|
||||
// these options can help you format your text without using too much html
|
||||
$use_bbcode = 0; // use BBCode, like [b]bold[/b]
|
||||
$use_gmcode = 0; // use GreyMatter-styles: **bold** \italic\ __underline__
|
||||
$use_quicktags = 1; // buttons for HTML tags (they won't work on IE Mac yet)
|
||||
|
||||
# IMPORTANT! set this to 0 if you are using Chinese, Japanese, Korean,
|
||||
# or other double-bytes languages
|
||||
// IMPORTANT! set this to 0 if you are using Chinese, Japanese, Korean,
|
||||
// or other double-bytes languages
|
||||
$use_htmltrans = 1;
|
||||
|
||||
# this could help balance your HTML code. if it gives bad results, set it to 0
|
||||
// this could help balance your HTML code. if it gives bad results, set it to 0
|
||||
$use_balanceTags = 1;
|
||||
|
||||
|
||||
// ** Image upload **
|
||||
|
||||
|
||||
# set this to 0 to disable file upload, or 1 to enable it
|
||||
$use_fileupload = 0;
|
||||
// set this to 0 to disable file upload, or 1 to enable it
|
||||
$use_fileupload = 1;
|
||||
|
||||
# enter the real path of the directory where you'll upload the pictures
|
||||
# if you're unsure about what your real path is, please ask your host's support staff
|
||||
# note that the directory must be writable by the webserver (ChMod 766)
|
||||
# note for windows-servers users: use forwardslashes instead of backslashes
|
||||
#$fileupload_realpath = '/home/your/site/b2/images';
|
||||
// enter the real path of the directory where you'll upload the pictures
|
||||
// if you're unsure about what your real path is, please ask your host's support staff
|
||||
// note that the directory must be writable by the webserver (ChMod 766)
|
||||
// note for windows-servers users: use forwardslashes instead of backslashes
|
||||
//$fileupload_realpath = '/home/your/site/b2/images';
|
||||
$fileupload_realpath = '/home/example/public_html/images';
|
||||
|
||||
# enter the URL of that directory (it's used to generate the links to the pictures)
|
||||
// enter the URL of that directory (it's used to generate the links to the pictures)
|
||||
$fileupload_url = 'http://example.com/images';
|
||||
|
||||
# accepted file types, you can add to that list if you want
|
||||
# note: add a space before and after each file type
|
||||
# example: $fileupload_allowedtypes = ' jpg gif png ';
|
||||
// accepted file types, you can add to that list if you want
|
||||
// note: add a space before and after each file type
|
||||
// example: $fileupload_allowedtypes = ' jpg gif png ';
|
||||
$fileupload_allowedtypes = ' jpg gif png ';
|
||||
|
||||
# by default, most servers limit the size of uploads to 2048 KB
|
||||
# if you want to set it to a lower value, here it is (you cannot set a higher value)
|
||||
// by default, most servers limit the size of uploads to 2048 KB
|
||||
// if you want to set it to a lower value, here it is (you cannot set a higher value)
|
||||
$fileupload_maxk = '96';
|
||||
|
||||
# you may not want all users to upload pictures/files, so you can set a minimum level for this
|
||||
// you may not want all users to upload pictures/files, so you can set a minimum level for this
|
||||
$fileupload_minlevel = '1';
|
||||
|
||||
# ...or you may authorize only some users. enter their logins here, separated by spaces
|
||||
# if you leave that variable blank, all users who have the minimum level are authorized to upload
|
||||
# note: add a space before and after each login name
|
||||
# example: $fileupload_allowedusers = ' barbara anne ';
|
||||
// ...or you may authorize only some users. enter their logins here, separated by spaces
|
||||
// if you leave that variable blank, all users who have the minimum level are authorized to upload
|
||||
// note: add a space before and after each login name
|
||||
// example: $fileupload_allowedusers = ' barbara anne ';
|
||||
$fileupload_allowedusers = '';
|
||||
|
||||
|
||||
|
||||
// ** RSS syndication options **
|
||||
|
||||
# these options are used by b2rdf.php (1.0), b2rss.php (0.92), and b2rss2.php (2.0)
|
||||
# note: if you don't want to syndicate your news, you can delete these files
|
||||
// these options are used by b2rdf.php (1.0), b2rss.php (0.92), and b2rss2.php (2.0)
|
||||
// note: if you don't want to syndicate your news, you can delete these files
|
||||
|
||||
# number of last posts to syndicate
|
||||
// number of last posts to syndicate
|
||||
$posts_per_rss = 10;
|
||||
|
||||
# the language of your blog ( see this: http://backend.userland.com/stories/storyReader$16 )
|
||||
// the language of your blog ( see this: http://backend.userland.com/stories/storyReader$16 )
|
||||
$rss_language = 'en';
|
||||
|
||||
# for b2rss.php: allow encoded HTML in <description> tag? 1=yes, 0=no
|
||||
// for b2rss.php: allow encoded HTML in <description> tag? 1=yes, 0=no
|
||||
$rss_encoded_html = 0;
|
||||
|
||||
# length (in words) of excerpts in the RSS feed? 0=unlimited
|
||||
# note: in b2rss.php, this will be set to 0 if you use encoded HTML
|
||||
// length (in words) of excerpts in the RSS feed? 0=unlimited
|
||||
// note: in b2rss.php, this will be set to 0 if you use encoded HTML
|
||||
$rss_excerpt_length = 50;
|
||||
#use the excerpt field for rss feed.
|
||||
//use the excerpt field for rss feed.
|
||||
$rss_use_excerpt = 1;
|
||||
|
||||
|
||||
// ** Weblogs.com ping **
|
||||
|
||||
# set this to 1 if you want your site to be listed on http://weblogs.com when you add a new post
|
||||
// set this to 1 if you want your site to be listed on http://weblogs.com when you add a new post
|
||||
$use_weblogsping = 0;
|
||||
|
||||
|
||||
// ** Blo.gs ping **
|
||||
|
||||
# set this to 1 if you want your site to be listed on http://blo.gs when you add a new post
|
||||
// set this to 1 if you want your site to be listed on http://blo.gs when you add a new post
|
||||
$use_blodotgsping = 0;
|
||||
|
||||
# if you ping blo.gs, this is the URL that will be sent to it (enter your blog's URL):
|
||||
// if you ping blo.gs, this is the URL that will be sent to it (enter your blog's URL):
|
||||
$blodotgsping_url = 'http://example.com';
|
||||
|
||||
|
||||
|
||||
// ** Trackback / PingBack **
|
||||
|
||||
# set this to 0 or 1, whether you want to allow your posts to be trackback'able or not
|
||||
# note: setting it to zero would also disable sending trackbacks
|
||||
// set this to 0 or 1, whether you want to allow your posts to be trackback'able or not
|
||||
// note: setting it to zero would also disable sending trackbacks
|
||||
$use_trackback = 1;
|
||||
|
||||
# set this to 0 or 1, whether you want to allow your posts to be pingback'able or not
|
||||
# note: setting it to zero would also disable sending pingbacks
|
||||
// set this to 0 or 1, whether you want to allow your posts to be pingback'able or not
|
||||
// note: setting it to zero would also disable sending pingbacks
|
||||
$use_pingback = 1;
|
||||
|
||||
|
||||
|
||||
// ** Comments options **
|
||||
|
||||
# set this to 1 to require e-mail and name, or 0 to allow comments without e-mail/name
|
||||
// set this to 1 to require e-mail and name, or 0 to allow comments without e-mail/name
|
||||
$require_name_email = 0;
|
||||
|
||||
# here is a list of the tags that are allowed in the comments.
|
||||
# you can add tags to the list, just add them in the string,
|
||||
# add only the opening tag: for example, only '<a>' instead of '<a href=""></a>'
|
||||
// here is a list of the tags that are allowed in the comments.
|
||||
// you can add tags to the list, just add them in the string,
|
||||
// add only the opening tag: for example, only '<a>' instead of '<a href=""></a>'
|
||||
|
||||
$comment_allowed_tags = '<b><i><u><strong><em><code><blockquote><p><br><strike><a>';
|
||||
|
||||
# set this to 1 to let every author be notified about comments on their posts
|
||||
// set this to 1 to let every author be notified about comments on their posts
|
||||
$comments_notify = 1;
|
||||
|
||||
|
||||
|
||||
// ** Smilies options **
|
||||
|
||||
# set this to 1 to enable smiley conversion in posts
|
||||
# (note: this makes smiley conversion in ALL posts)
|
||||
// set this to 1 to enable smiley conversion in posts
|
||||
// (note: this makes smiley conversion in ALL posts)
|
||||
$use_smilies = 0;
|
||||
|
||||
# the directory where your smilies are (no trailing slash)
|
||||
// the directory where your smilies are (no trailing slash)
|
||||
$smilies_directory = 'http://example.com/b2-img/smilies';
|
||||
|
||||
# here's the conversion table, you can modify it if you know what you're doing
|
||||
// here's the conversion table, you can modify it if you know what you're doing
|
||||
$b2smiliestrans = array(
|
||||
':)' => 'icon_smile.gif',
|
||||
':D' => 'icon_biggrin.gif',
|
||||
@@ -249,7 +249,7 @@ $b2smiliestrans = array(
|
||||
);
|
||||
|
||||
|
||||
# the weekdays and the months.. translate them if necessary
|
||||
// the weekdays and the months.. translate them if necessary
|
||||
|
||||
$weekday[0]='Sunday';
|
||||
$weekday[1]='Monday';
|
||||
@@ -260,7 +260,7 @@ $weekday[5]='Friday';
|
||||
$weekday[6]='Saturday';
|
||||
|
||||
|
||||
# the months, translate them if necessary - note: this isn't active everywhere yet
|
||||
// the months, translate them if necessary - note: this isn't active everywhere yet
|
||||
$month['01']='January';
|
||||
$month['02']='February';
|
||||
$month['03']='March';
|
||||
@@ -276,8 +276,8 @@ $month['12']='December';
|
||||
|
||||
|
||||
|
||||
# $b2inc is where the included b2 files are: that's generally the directory b2-include,
|
||||
# so you shouldn't have to change that setting
|
||||
// $b2inc is where the included b2 files are: that's generally the directory b2-include,
|
||||
// so you shouldn't have to change that setting
|
||||
$b2inc = 'b2-include';
|
||||
|
||||
|
||||
@@ -292,31 +292,31 @@ $querystring_separator = '&';
|
||||
|
||||
// ** Configuration for b2mail.php ** (skip this if you don't intend to blog via email)
|
||||
|
||||
# mailserver settings
|
||||
// mailserver settings
|
||||
$mailserver_url = 'mail.example.com';
|
||||
$mailserver_login = 'login@example.com';
|
||||
$mailserver_pass = 'password';
|
||||
$mailserver_port = 110;
|
||||
|
||||
# by default posts will have this category
|
||||
// by default posts will have this category
|
||||
$default_category = 1;
|
||||
|
||||
# subject prefix
|
||||
// subject prefix
|
||||
$subjectprefix = 'blog:';
|
||||
|
||||
# body terminator string (starting from this string, everything will be ignored, including this string)
|
||||
// body terminator string (starting from this string, everything will be ignored, including this string)
|
||||
$bodyterminator = "___";
|
||||
|
||||
# set this to 1 to run in test mode
|
||||
// set this to 1 to run in test mode
|
||||
$thisisforfunonly = 0;
|
||||
|
||||
|
||||
### Special Configuration for some phone email services
|
||||
////// Special Configuration for some phone email services
|
||||
|
||||
# some mobile phone email services will send identical subject & content on the same line
|
||||
# if you use such a service, set $use_phoneemail to 1, and indicate a separator string
|
||||
# when you compose your message, you'll type your subject then the separator string
|
||||
# then you type your login:password, then the separator, then content
|
||||
// some mobile phone email services will send identical subject & content on the same line
|
||||
// if you use such a service, set $use_phoneemail to 1, and indicate a separator string
|
||||
// when you compose your message, you'll type your subject then the separator string
|
||||
// then you type your login:password, then the separator, then content
|
||||
|
||||
$use_phoneemail = 0;
|
||||
$phoneemail_separator = ':::';
|
||||
@@ -339,6 +339,9 @@ $path = $pathserver;
|
||||
$base = $dbname;
|
||||
|
||||
// This is so the new admin location works
|
||||
ini_set('include_path', ".:../:../$b2inc");
|
||||
// Set this path separator appropriately for your OS: semi-colon on windows, colon on unix
|
||||
//$path_sep=';';
|
||||
$path_sep=':';
|
||||
ini_set('include_path', '.'.$path_sep.'..'.$path_sep."../$b2inc".$path_sep."./$b2inc");
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user