Changeset 88 for trunk/b2config.php
- Timestamp:
- 05/24/2003 11:14:58 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2config.php
r83 r88 10 10 /* Start editing */ 11 11 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 !) 13 13 // $blogfilename is the name of the default file for your blog 14 14 // $blogname is the name of your blog … … 19 19 $blogdescription = "babblings !"; 20 20 21 // your email (obvious eh?)21 // Your email (obvious eh?) 22 22 $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 registered26 $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, etc34 $start_of_week = 1;35 36 23 37 24 // ** MySQL settings ** … … 42 29 $dbpassword = 'pass'; // ...and password 43 30 $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 44 44 45 45 // database tables' names (change them if you want to have multiple b2's in a single database) … … 85 85 86 86 // set this to 0 to disable file upload, or 1 to enable it 87 $use_fileupload = 1;87 $use_fileupload = 0; 88 88 89 89 // enter the real path of the directory where you'll upload the pictures … … 149 149 $use_blodotgsping = 0; 150 150 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; 153 153 154 154 … … 175 175 // add only the opening tag: for example, only '<a>' instead of '<a href=""></a>' 176 176 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>'; 178 178 179 179 // set this to 1 to let every author be notified about comments on their posts … … 189 189 190 190 // 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'; 192 192 193 193 // here's the conversion table, you can modify it if you know what you're doing … … 320 320 321 321 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 */ 325 325 326 326 $server = $dbhost; … … 333 333 // Set this path separator appropriately for your OS: semi-colon on windows, colon on unix 334 334 //$path_sep=';'; 335 $path_sep =':';335 $path_sep = ':'; 336 336 ini_set('include_path', ".$path_sep..$path_sep../$b2inc$path_sep./$b2inc"); 337 337 ?>
Note: See TracChangeset
for help on using the changeset viewer.