summaryrefslogtreecommitdiff
path: root/forum/utils/error.php
diff options
context:
space:
mode:
authordeva <deva>2008-10-04 10:38:03 +0000
committerdeva <deva>2008-10-04 10:38:03 +0000
commitcce5e7710295021b41d9aaecc503a60fb99256be (patch)
tree660235be91fb821e976c7ae62347eb368ce87524 /forum/utils/error.php
Initial revision
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