diff options
Diffstat (limited to 'enablechat.php')
-rw-r--r-- | enablechat.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/enablechat.php b/enablechat.php new file mode 100644 index 000000000..f3449520c --- /dev/null +++ b/enablechat.php @@ -0,0 +1,8 @@ +<?php + require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); + if (isloggedin()) { + get_loggedin_user()->chatenabled = true; + system_message(elgg_echo("beechat:enabled")); + } + forward($_SERVER['HTTP_REFERER']); +?> |