Example #1
0
    $failed = true;
}
if (isset($_SERVER['SERVER_SOFTWARE'])) {
    if ((strstr(PHP_VERSION, '4.2.0') || strstr(PHP_VERSION, '4.2.1')) && stristr($_SERVER['SERVER_SOFTWARE'], 'Apache/2.0.')) {
        if ($failed) {
            echo '<br /><br />';
        }
        echo 'There is a serious cookie bug in PHP 4.2 running on Apache 2.0.<br />Because it is a bug in PHP itself, Quicksilver Forums can not solve the problem.';
        $failed = true;
    }
}
if ($failed) {
    echo "<br /><br /><b>To run Quicksilver Forums and other advanced PHP software, the above error(s) must be fixed by your web host.</b>";
} else {
    $qsf->sets = $set;
    switch ($mode) {
        case '':
            include 'templates/installtype.php';
            break;
        case 'new_install':
            $qsf->install_board($step);
            break;
        case 'upgrade':
            $qsf->upgrade_board($step);
            break;
        case 'convert':
            $qsf->convert_board($step);
            break;
    }
}
include 'templates/footer.php';