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); }