Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ //set the include path $conf = glob("{/usr/local/etc,/etc}/fusionpbx/config.conf", GLOB_BRACE); set_include_path(parse_ini_file($conf[0])['document.root']); //includes files require_once "resources/require.php"; require_once "resources/check_auth.php"; //check permissions if (permission_exists('call_center_active_view')) { //access granted } else { echo "access denied"; exit; } //add multi-lingual support $language = new text; $text = $language->get(); //get the queue_name and set it as a variable $queue_name = $_GET['queue_name']; $name = $_GET['name']; //get a new session array unset($_SESSION['queues']); unset($_SESSION['agents']); //get the header $document['title'] = $text['title-call_center_queue_activity']; require_once "resources/header.php"; //add the ajax ?> \n"; echo "

"; //include the footer require_once "resources/footer.php"; ?>