From 074dc8fda6f634cc8c024a913d8033600b336b3a Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Oct 2012 09:04:43 +0000 Subject: initial commit. --- actions/save_state.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 actions/save_state.php (limited to 'actions/save_state.php') diff --git a/actions/save_state.php b/actions/save_state.php new file mode 100644 index 000000000..f3a818f72 --- /dev/null +++ b/actions/save_state.php @@ -0,0 +1,26 @@ + + * @copyright Beechannels 2007-2010 + * @link http://beechannels.com/ + */ + + gatekeeper(); + + global $SESSION; + + if (!empty($_POST['beechat_state'])) + { + $SESSION->offsetSet('beechat_state', get_input('beechat_state')); + } + elseif (!empty($_POST['beechat_conn'])) + { + $SESSION->offsetSet('beechat_conn', get_input('beechat_conn')); + } + + exit(); +?> -- cgit v1.2.3