install/includes/libenanoinstallcli.php
changeset 945 c19242d13a49
parent 812 68060328e9c6
child 1081 745200a9cc2a
equal deleted inserted replaced
944:073a42e4177f 945:c19242d13a49
    19   global $silent, $lang;
    19   global $silent, $lang;
    20   
    20   
    21   if ( !$silent )
    21   if ( !$silent )
    22     echo parse_shellcolor_string($lang->get("cli_msg_$stage_name"));
    22     echo parse_shellcolor_string($lang->get("cli_msg_$stage_name"));
    23   
    23   
    24   $result = @call_user_func($function);
    24   $result = call_user_func($function);
    25   
    25   
    26   if ( !$result )
    26   if ( !$result )
    27   {
    27   {
    28     if ( !$silent )
    28     if ( !$silent )
    29       echo parse_shellcolor_string($lang->get('cli_test_fail')) . "\n";
    29       echo parse_shellcolor_string($lang->get('cli_test_fail')) . "\n";