Diff for /cdn/www/b2config.php between versions 1.21 and 1.24

version 1.21, 2003/03/16 20:04:58 version 1.24, 2003/03/21 22:40:26
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($project, '/') + 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;

Removed from v.1.21  
changed lines
  Added in v.1.24


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