Install::step4 PHP Method

step4() public method

public step4 ( )
    function step4()
    {
        $cfgSite = erConfigClassLhConfig::getInstance();
        $cfgSite->save();
        $msg = "Installation is complete. You can start by adding users and departments";
        syslog(LOG_DEBUG, $msg);
    }

Usage Example

示例#1
0
function main($ini_file)
{
    $install = new Install($ini_file);
    $response = $install->step1();
    if (is_array($response)) {
        $install->print_errors($response);
    }
    $response = $install->step2();
    if (is_array($response)) {
        $install->print_errors($response);
    }
    $response = $install->step3();
    if (is_array($response)) {
        $install->print_errors($response);
    }
    $response = $install->step4();
    if (is_array($response)) {
        $install->print_errors($response);
    }
    exit(1);
}