CONTROL_INSTALL::ctl_dbconfig PHP Method

ctl_dbconfig() public method

public ctl_dbconfig ( )
    function ctl_dbconfig()
    {
        if ($this->errCount > 0) {
            return array("alert" => "x030413");
        }
        $this->obj_tpl->tplDisplay("install_dbconfig.tpl", $this->tplData);
        return array("alert" => "y030404");
    }

Usage Example

Esempio n. 1
0
        }
        break;
    case "dbtable":
        $arr_installRow = $ctl_install->ctl_dbtable();
        if ($arr_installRow["alert"] != "y030404") {
            header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_installRow["alert"]);
            exit;
        }
        break;
    case "over":
        $arr_installRow = $ctl_install->ctl_over();
        if ($arr_installRow["alert"] != "y030404") {
            header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_installRow["alert"]);
            exit;
        }
        break;
    case "dbconfig":
        $arr_installRow = $ctl_install->ctl_dbconfig();
        if ($arr_installRow["alert"] != "y030403") {
            header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_installRow["alert"]);
            exit;
        }
        break;
    default:
        $arr_installRow = $ctl_install->ctl_ext();
        if ($arr_installRow["alert"] != "y030403") {
            header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_installRow["alert"]);
            exit;
        }
        break;
}