Esempio n. 1
0
<?php

require "inc/conn.php";
$action = be("all", "action");
$db;
if (file_exists('inc/install.lock')) {
    echo '重新安装程序,请先删除inc/install.lock文件';
    exit;
}
switch ($action) {
    case "ckdb":
        ckdb();
        break;
    case "a":
        show_header();
        stepA();
        show_footer();
        break;
    case "b":
        show_header();
        stepB();
        show_footer();
        break;
    case "c":
        show_header();
        stepC();
        show_footer();
        break;
    case "d":
        show_header();
        stepD();
Esempio n. 2
0
function main()
{
    stepA();
}