equal
deleted
inserted
replaced
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"; |