From 074dc8fda6f634cc8c024a913d8033600b336b3a Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Oct 2012 09:04:43 +0000 Subject: initial commit. --- actions/get_state.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 actions/get_state.php (limited to 'actions/get_state.php') diff --git a/actions/get_state.php b/actions/get_state.php new file mode 100644 index 000000000..6cfd2f725 --- /dev/null +++ b/actions/get_state.php @@ -0,0 +1,21 @@ + + * @copyright Beechannels 2007-2010 + * @link http://beechannels.com/ + */ + + header('Content-type: application/json'); + gatekeeper(); + + global $SESSION; + + if ($SESSION->offsetExists('beechat_state')) + echo $SESSION->offsetGet('beechat_state'); + + exit(); +?> -- cgit v1.2.3