diff options
author | root <root@migration.vz.lan> | 2012-10-23 09:04:43 +0000 |
---|---|---|
committer | root <root@migration.vz.lan> | 2012-10-23 09:04:43 +0000 |
commit | 074dc8fda6f634cc8c024a913d8033600b336b3a (patch) | |
tree | 1a9959d61e9f308b0a3443d9d67c00d26421581c /enablechat.php | |
download | elgg-074dc8fda6f634cc8c024a913d8033600b336b3a.tar.gz elgg-074dc8fda6f634cc8c024a913d8033600b336b3a.tar.bz2 |
initial commit.
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']); +?> |