Make WordPress Core

Changeset 88 for trunk/b2config.php


Ignore:
Timestamp:
05/24/2003 11:14:58 PM (22 years ago)
Author:
saxmatt
Message:

Changed order, fixed some other things.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2config.php

    r83 r88  
    1010/* Start editing */
    1111
    12 // $siteurl is your blog's URL: for example, 'http://mydomain.com' (no trailing slash !)
     12// $siteurl is your blog's URL: for example, 'http://mydomain.com/wordpress' (no trailing slash !)
    1313// $blogfilename is the name of the default file for your blog
    1414// $blogname is the name of your blog
     
    1919$blogdescription = "babblings !";
    2020
    21 // your email (obvious eh ?)
     21// Your email (obvious eh?)
    2222$admin_email = 'you@example.com';
    23 
    24 
    25 // set this to 0 or 1, whether you want new users to be able to post entries once they registered
    26 $new_users_can_blog = 0;
    27 
    28 
    29 // set this to 0 or 1, whether you want to allow users to register on your blog.     
    30 $users_can_register = 1;
    31 
    32 
    33 // day at the start of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, etc
    34 $start_of_week = 1;
    35 
    3623
    3724// ** MySQL settings **
     
    4229$dbpassword = 'pass';       // ...and password
    4330$dbhost = 'localhost';      // 99% chances you won't need to change this value
     31
     32// set this to 0 or 1, whether you want new users to be able to post entries once they registered
     33$new_users_can_blog = 0;
     34
     35
     36// set this to 0 or 1, whether you want to allow users to register on your blog.     
     37$users_can_register = 1;
     38
     39
     40// day at the start of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, etc
     41$start_of_week = 1;
     42
     43
    4444
    4545// database tables' names (change them if you want to have multiple b2's in a single database)
     
    8585
    8686// set this to 0 to disable file upload, or 1 to enable it
    87 $use_fileupload = 1;
     87$use_fileupload = 0;
    8888
    8989// enter the real path of the directory where you'll upload the pictures
     
    149149$use_blodotgsping = 0;
    150150
    151 // if you ping blo.gs, this is the URL that will be sent to it (enter your blog's URL):
    152 $blodotgsping_url = 'http://example.com';
     151// You shouldn't need to change this.
     152$blodotgsping_url = $siteurl;
    153153
    154154
     
    175175//  add only the opening tag: for example, only '<a>' instead of '<a href=""></a>'
    176176
    177 $comment_allowed_tags = '<b><i><u><strong><em><code><blockquote><p><br><strike><a>';
     177$comment_allowed_tags = '<b><i><strong><em><code><blockquote><p><br><strike><a>';
    178178
    179179// set this to 1 to let every author be notified about comments on their posts
     
    189189
    190190// the directory where your smilies are (no trailing slash)
    191 $smilies_directory = 'http://example.com/b2-img/smilies';
     191$smilies_directory = $siteurl . '/b2-img/smilies';
    192192
    193193// here's the conversion table, you can modify it if you know what you're doing
     
    320320
    321321
    322 $HTTP_HOST=getenv('HTTP_HOST');  /* domain name */
    323 $REMOTE_ADDR=getenv('REMOTE_ADDR'); /* visitor's IP */
    324 $HTTP_USER_AGENT=getenv('HTTP_USER_AGENT'); /* visitor's browser */
     322$HTTP_HOST = getenv('HTTP_HOST');  /* domain name */
     323$REMOTE_ADDR = getenv('REMOTE_ADDR'); /* visitor's IP */
     324$HTTP_USER_AGENT = getenv('HTTP_USER_AGENT'); /* visitor's browser */
    325325
    326326$server = $dbhost;
     
    333333// Set this path separator appropriately for your OS: semi-colon on windows, colon on unix
    334334//$path_sep=';';
    335 $path_sep=':';
     335$path_sep = ':';
    336336ini_set('include_path', ".$path_sep..$path_sep../$b2inc$path_sep./$b2inc");
    337337?>
Note: See TracChangeset for help on using the changeset viewer.