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_details.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 actions/get_details.php (limited to 'actions/get_details.php') diff --git a/actions/get_details.php b/actions/get_details.php new file mode 100644 index 000000000..4944fc4a9 --- /dev/null +++ b/actions/get_details.php @@ -0,0 +1,21 @@ + + * @copyright Beechannels 2007-2010 + * @link http://beechannels.com/ + */ + + gatekeeper(); + header('Content-type: application/json'); + $user = $_SESSION['user']; + $t = array('username' => $user->username, + 'password' => $user->password); + + echo json_encode($t); + + exit(); +?> -- cgit v1.2.3