aboutsummaryrefslogtreecommitdiff
path: root/enablechat.php
blob: f3449520c4cc035344f0106ccc016d9d205a315d (plain)
1
2
3
4
5
6
7
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']);
?>