I've worked around this bug as follows, at Ian Pushee's advice, and
having a single config.php file that is called from all the forum
virtualhost blocks:

$dbhost = 'localhost';
$dbname = '';
$dbuser = '';
$dbpasswd = '';

if ($_SERVER["HTTP_HOST"] == "forum.novylen.net") {
        $table_prefix = 'novylen_';
} else if ($_SERVER["HTTP_HOST"] == "forum.constainia.net") {
        $table_prefix = 'constainia_';
} else if ($_SERVER["HTTP_HOST"] == "forum.csi-azeroth.com") {
        $table_prefix = 'csiazeroth_';
} else {
        $table_prefix = 'ERR_NOT_EXIST_';
}

-- 
Rob Bos, [EMAIL PROTECTED]

"Is sloppiness in speech caused by ignorance or apathy? I don't know and I
don't care."
        - William Safire

Attachment: signature.asc
Description: Digital signature

Reply via email to