summaryrefslogtreecommitdiff
path: root/forum/utils/error.php
diff options
context:
space:
mode:
Diffstat (limited to 'forum/utils/error.php')
-rw-r--r--forum/utils/error.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/forum/utils/error.php b/forum/utils/error.php
new file mode 100644
index 0000000..78128d2
--- /dev/null
+++ b/forum/utils/error.php
@@ -0,0 +1,6 @@
+<?php
+function error($msg) {
+ echo "<div class=\"error\">Error: " . $msg . "</div>\n";
+ // exit($msg);
+}
+?> \ No newline at end of file