Commit 29c482ee authored by Leigh Stoller's avatar Leigh Stoller

Add USERERROR function.

parent b5049538
......@@ -42,4 +42,21 @@ function TBERROR ($message, $death) {
}
return 0;
}
#
# General user errors should print something warm and fuzzy
#
function USERERROR($message, $death) {
echo "<h3><br><br>
$message
<br>
</h3>";
if ($death) {
echo "</body>
</html>";
die("");
}
}
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment