aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 7f7a81727..e131a5b53 100644
--- a/boot.php
+++ b/boot.php
@@ -299,4 +299,11 @@ function footer(&$a) {
$s = fetch_url("http://fortunemod.com/cookie.php?equal=1");
$a->page['content'] .= "<div class=\"fortune\" >$s</div>";
-} \ No newline at end of file
+}
+
+if(! function_exists('notice')) {
+function notice($s) {
+
+ $_SESSION['sysmsg'] .= $s;
+
+}} \ No newline at end of file