Diff for /cdn/www/b2config.php between versions 1.6 and 1.25

version 1.6, 2003/03/06 13:22:56 version 1.25, 2003/06/29 18:34:11
Line 1 Line 1
 <?php  <?php
   
  require_once('/usr/local/sandbox/php/include/globals.h');  if (!isset($project))
 // require(PHP_INC.CONNECT);  {
   // bit after a '/', before 'www/'
 
     $project = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), 'www') - 1);
 
     $project = substr($project, strrpos($project, '/') + 1);
 
   }
 
   require('/usr/local/sandbox/php/include/globals.h');
 
   require(PHP_INC.CONNECT);
 
   $_p_ = false;
 
   if (!isset($project) || empty($project))
   {
     $project = 'cdn'; $_p_ = true;
   }
   
   require(PROJECT_PATH . '/protected/b2config.inc.php');  
    
 /* *  /* *
  * b2's config file *   * b2's config file *
                   * */                    * */
Line 18 Line 34
 # $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://' . $project . HOST;$siteurl = 'http://' . $project . '.' . HOST;
$blogfilename = 'index.html';$blogfilename = 'blog.html';
$blogname = "b2og";$blogname = "mozdev.org - b2og";
 $blogdescription = "babblings !";  $blogdescription = "babblings !";
   
   
Line 37  $use_cafelogping = 0;    # set this to 1 Line 53  $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://www.cdn.uklinux.net/red';$pathserver = 'http://' . PROJECT_DIR . '.' . HOST;
   
   
 # your email (obvious uh ?)  # your email (obvious uh ?)
Line 49  $new_users_can_blog = 0; Line 65  $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 80  $tablecomments = $b2prefix . 'b2comments Line 96  $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 = 0;
 $use_preview = 1;  $use_preview = 1;
   
   
   
 // ** Spell Checker functions **  // ** Spell Checker functions **
   
   
Line 203  $blodotgsping_url = 'http://example.com' Line 219  $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;
   
   
   

Removed from v.1.6  
changed lines
  Added in v.1.25


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