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

version 1.18, 2003/03/13 11:13:55 version 1.22, 2003/03/21 22:34:01
Line 1 Line 1
 <?php  <?php
   
  require_once('/usr/local/sandbox/php/include/globals.h'); // require('/usr/local/sandbox/php/include/globals.h');
 
   if (!isset($project))
   {
   // bit after a '/', before 'www/'
 
    // $project = str_replace(, '', dirname(__FILE__));
 
     $project = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), 'www') - 1);
     
     $project = substr($project, strrpos($echo, '/') + 1);
 
   }
 
   require('/usr/local/sandbox/php/include/globals.h');
 
   require(PHP_INC.CONNECT);    require(PHP_INC.CONNECT);
   
   $_p_ = false;    $_p_ = false;
  
   if (!isset($project) || empty($project))    if (!isset($project) || empty($project))
   {    {
     $project = 'cdn'; $_p_ = true;      $project = 'cdn'; $_p_ = true;
Line 25 Line 40
   
 $siteurl = 'http://' . $project . '.' . HOST;  $siteurl = 'http://' . $project . '.' . HOST;
 $blogfilename = 'blog.html';  $blogfilename = 'blog.html';
$blogname = "b2og";$blogname = "mozdev.org - b2og";
 $blogdescription = "babblings !";  $blogdescription = "babblings !";
   
   
Line 42  $use_cafelogping = 0;    # set this to 1 Line 57  $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 = PROJECT_DIR . HOST;$pathserver = 'http://' . PROJECT_DIR . '.' . HOST;
 //$pathserver = 'http://cdn.mozdev.org';  //$pathserver = 'http://cdn.mozdev.org';
   
   
Line 87  $tablecomments = $b2prefix . 'b2comments Line 102  $tablecomments = $b2prefix . 'b2comments
   
 # 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 = 0;
$use_preview = 1;
   
   
 // ** Spell Checker functions **  // ** Spell Checker functions **

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


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