print_errors() публичный Метод

public print_errors ( $errors )
Пример #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);
}