CONTROL_INSTALL::ctl_over PHP Method

ctl_over() public method

public ctl_over ( )
    function ctl_over()
    {
        if ($this->errCount > 0) {
            return array("alert" => "x030413");
        }
        if (!$this->check_db()) {
            return array("alert" => "x030404");
        }
        $this->obj_tpl->tplDisplay("install_over.tpl", $this->tplData);
        return array("alert" => "y030405");
    }

Usage Example

Esempio n. 1
0
 case "base":
     $arr_installRow = $ctl_install->ctl_base();
     if ($arr_installRow["alert"] != "y030404") {
         header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_installRow["alert"]);
         exit;
     }
     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") {