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