if ($err) { $outstr = 'error:'; } else { $outstr = 'ok:' . linkoutput($compileurl); } if ($err || $verbose) { $outstr = $outstr . '<P>COMMAND: ' . $str . '</P>'; } if ($verbose) { $outstr = $outstr . '<P>VERBOSE:</P><P>' . $verbose . '</P>'; } if ($err) { $outstr = $outstr . '<P>ERROR:</P><P>' . $err . '</P>'; } if ($err) { $act->set_error($err); } $act->set_compiled(true); if ($act->save() != false) { exit($outstr); } else { exit('error:Could not save the action status into the database'); } } else { exit('error:Could not save the action into the database'); } function linkoutput($compileurl) { if ($compileurl == 'NULL') { return '<P>De bewerking is succesvol uitgevoerd.</P>'; } else {