buildin_commander = new base_shell_buildin($this); parent::__construct(); } function exec_command($command){ echo '
';
echo '>'. $command."\n";
parent::exec_command($command);
echo '';
}
function error_handle($code,$msg,$file,$line){
if($code == ($code & (E_ERROR ^ E_USER_ERROR ^ E_USER_WARNING))){
echo 'ERROR: ',$code,':',$msg,' @',basename($file),':',$line."\n\n";
if($code == ($code & (E_ERROR ^ E_USER_ERROR))){
exit;
}
}
return true;
}
}