Skip to content
Permalink
Browse files Browse the repository at this point in the history
Update conference_interactive.php
  • Loading branch information
markjcrane committed Aug 10, 2019
1 parent 0199f37 commit 83123e3
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions app/conferences_active/conference_interactive.php
Expand Up @@ -17,23 +17,27 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
Portions created by the Initial Developer are Copyright (C) 2008-2019
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
James Rose <james.o.rose@gmail.com>
*/
include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('conference_interactive_view')) {
//access granted
}
else {
echo "access denied";
exit;
}

//includes
include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";

//check permissions
if (permission_exists('conference_interactive_view')) {
//access granted
}
else {
echo "access denied";
exit;
}

//add multi-lingual support
$language = new text;
Expand Down Expand Up @@ -83,7 +87,7 @@ function loadXmlHttp(url, id) {
}

var requestTime = function() {
var url = 'conference_interactive_inc.php?c=<?php echo trim($_REQUEST["c"]); ?>';
var url = 'conference_interactive_inc.php?c=<?php echo trim(escape($_REQUEST["c"])); ?>';
new loadXmlHttp(url, 'ajax_reponse');
setInterval(function(){new loadXmlHttp(url, 'ajax_reponse');}, 1222);
}
Expand Down Expand Up @@ -129,4 +133,4 @@ function send_cmd(url) {

//show the header
require_once "resources/footer.php";
?>
?>

0 comments on commit 83123e3

Please sign in to comment.