version 1.19, 2003/03/13 11:16:32
|
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 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 ** |