Diff for /cdn/www/b2config.php between versions 1.1 and 1.18

version 1.1, 2003/03/06 10:50:04 version 1.18, 2003/03/13 11:13:55
Line 1 Line 1
 <?php  <?php
   
     require_once('/usr/local/sandbox/php/include/globals.h');
     require(PHP_INC.CONNECT);
   
     $_p_ = false;
     
     if (!isset($project) || empty($project))
     {
       $project = 'cdn'; $_p_ = true;
     }
   
 /* *  /* *
  * b2's config file *   * b2's config file *
                   * */                    * */
Line 13 Line 23
 # $blogfilename is the name of the default file for your blog  # $blogfilename is the name of the default file for your blog
 # $blogname is the name of your blog  # $blogname is the name of your blog
   
$siteurl = 'http://example.com';$siteurl = 'http://' . $project . '.' . HOST;
$blogfilename = 'index.php';$blogfilename = 'blog.html';
$blogname = "my weblog";$blogname = "b2og";
 $blogdescription = "babblings !";  $blogdescription = "babblings !";
   
   
Line 32  $use_cafelogping = 0;    # set this to 1 Line 42  $use_cafelogping = 0;    # set this to 1
 # $pathserver is where you have uploaded b2: for example, 'http://mydomain.com' (no ending slash !)  # $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  #   by default b2 is set to run in the folder your blog resides, same as $siteurl
   
$pathserver = 'http://example.com';$pathserver = PROJECT_DIR . HOST;
 //$pathserver = 'http://cdn.mozdev.org';
   
   
 # your email (obvious uh ?)  # your email (obvious uh ?)
$admin_email = 'you@example.com';$admin_email = 'cdn@cdn.cx';
   
   
 # 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 = 1;$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;$users_can_register = 0;
   
   
 # 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
Line 55  $start_of_week = 1; Line 66  $start_of_week = 1;
 // ** MySQL settings **  // ** MySQL settings **
   
 # fill with your database details  # fill with your database details
$dbname = 'b2';                   // the name of the database$dbname = $database;//'b2';                   // the name of the database
$dbhost = 'localhost';              // 99% chances you won't need to change this value$dbhost = $host;//'ankh.local';              // 99% chances you won't need to change this value
$dbusername = 'user';                      // your MySQL username$dbusername = $user;//'root';                      // your MySQL username
$dbpassword = 'pass';              // ...and password$dbpassword = $password;//'';              // ...and password
   
 # 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';$b2prefix = '_cdn_';
$tablesettings = 'b2settings';//$b2prefix = '';
$tablecategories = 'b2categories';
$tablecomments = 'b2comments';$tableposts = $b2prefix . 'b2posts';
 $tableusers = $b2prefix . 'b2users';
 $tablesettings = $b2prefix . 'b2settings';
 $tablecategories = $b2prefix . 'b2categories';
 $tablecomments = $b2prefix . 'b2comments';
   
   
 // ** Post preview function **  // ** 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;$use_preview = 0;
   
   
   
Line 79  $use_preview = 1; Line 94  $use_preview = 1;
   
   
 # 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 = 1;$use_spellchecker = 0;
   
   
   
 // ** Text formatting options **  // ** 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_bbcode = 1;       // use BBCode, like [b]bold[/b]
 $use_gmcode = 0;        // use GreyMatter-styles: **bold** \italic\ __underline__  $use_gmcode = 0;        // use GreyMatter-styles: **bold** \italic\ __underline__
 $use_quicktags = 1;     // buttons for HTML tags (they won't work on IE Mac yet)  $use_quicktags = 1;     // buttons for HTML tags (they won't work on IE Mac yet)
   
Line 137  $fileupload_allowedusers = ''; Line 152  $fileupload_allowedusers = '';
   
 // ** LiveJournal Integration settings **  // ** LiveJournal Integration settings **
 // enable livejournal integration  // enable livejournal integration
$use_ljupdate = 1;$use_ljupdate = 0;
   
 // database tables' names (change them if you want to have multiple b2's with ljupdate in a single database)  // database tables' names (change them if you want to have multiple b2's with ljupdate in a single database)
 $tableljusers = 'ljusers';  $tableljusers = 'ljusers';
Line 194  $blodotgsping_url = 'http://example.com' Line 209  $blodotgsping_url = 'http://example.com'
   
 # set this to 0 or 1, whether you want to allow your posts to be trackback'able or not  # 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  # note: setting it to zero would also disable sending trackbacks
$use_trackback = 0;$use_trackback = 1;
   
 # set this to 0 or 1, whether you want to allow your posts to be pingback'able or not  # 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  # note: setting it to zero would also disable sending pingbacks
$use_pingback = 0;$use_pingback = 1;
   
   
   
 // ** Comments options **  // ** 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;$require_name_email = 1;
   
 # here is a list of the tags that are allowed in the comments.  # 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,  #  you can add tags to the list, just add them in the string,
Line 306  $month['12']='December'; Line 321  $month['12']='December';
   
 # $b2inc is where the included b2 files are: that's generally the directory b2-include,  # $b2inc is where the included b2 files are: that's generally the directory b2-include,
 #  so you shouldn't have to change that setting  #  so you shouldn't have to change that setting
   $b2inc = substr(basename(__FILE__), 0, strrpos(basename(__FILE__), '/')) . '/b2-include';
   $b2inc = dirname(__FILE__) . '/b2-include';
 $b2inc = './b2-include';  $b2inc = './b2-include';
$b2inc = 'b2-include';
   
 // ** Querystring Configuration ** (don't change if you don't know what you're doing)  // ** Querystring Configuration ** (don't change if you don't know what you're doing)
   
Line 315  $querystring_start = '?'; Line 332  $querystring_start = '?';
 $querystring_equal = '=';  $querystring_equal = '=';
 $querystring_separator = '&amp;';  $querystring_separator = '&amp;';
   
/*
 $querystring_start = '/';
 $querystring_equal = '/';
 $querystring_separator = '/';
 */
   
   
 // ** Configuration for b2mail.php ** (skip this if you don't intend to blog via email)  // ** Configuration for b2mail.php ** (skip this if you don't intend to blog via email)
Line 336  $subjectprefix = 'blog:'; Line 357  $subjectprefix = 'blog:';
 $bodyterminator = "___";  $bodyterminator = "___";
   
 # set this to 1 to run in test mode  # set this to 1 to run in test mode
$thisisforfunonly = 0;$thisisforfunonly = 01;
   
   
 ### Special Configuration for some phone email services  ### Special Configuration for some phone email services
Line 366  $passsql = $dbpassword; Line 387  $passsql = $dbpassword;
 $path = $pathserver;  $path = $pathserver;
 $base = $dbname;  $base = $dbname;
   
 ?>  
   
   ?>

Removed from v.1.1  
changed lines
  Added in v.1.18


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>