예제 #1
0
$web_path = $include_path;
$install_complete = "no";
// cyclic dependencies...
@(include $include_path . 'settings.php');
@(include_once $include_path . 'system.php');
@(include $include_path . 'settings.php');
include_once $include_path . "lib/general.lib.php";
include_once $include_path . 'services/class.php';
writeLogData("messages", "Index: --------------- Beginning Jinzora session ---------------");
// Load our external services:
writeLogData("messages", "Index: Loading default services");
$jzSERVICES = new jzServices();
$jzSERVICES->loadStandardServices();
if ($cms_mode == "true") {
    writeLogData("messages", "Index: Setting up CMS variables");
    $ar = $jzSERVICES->cmsGETVars();
    foreach ($ar as $id => $val) {
        $link_root .= $id . "=" . $val . "&";
    }
}
if (isset($_GET['install'])) {
    // Now let's include the right file
    if ($_GET['install'] == "step7") {
        if (isset($_POST['submit_step6_more'])) {
            $_GET['install'] = 'step6';
        }
    }
    if (strpos($_GET['install'], '..') !== false) {
        die;
    }
    include_once $include_path . 'install/' . $_GET['install'] . ".php";