diff --git a/app/conferences_active/conference_interactive.php b/app/conferences_active/conference_interactive.php index 24e0e0878e..164cd09076 100644 --- a/app/conferences_active/conference_interactive.php +++ b/app/conferences_active/conference_interactive.php @@ -17,23 +17,27 @@ The Initial Developer of the Original Code is Mark J Crane - 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 James Rose */ -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; @@ -83,7 +87,7 @@ if (this.xmlHttp.readyState == 4 && (this.xmlHttp.status == 200 || !/^http/.test } var requestTime = function() { - var url = 'conference_interactive_inc.php?c='; + var url = 'conference_interactive_inc.php?c='; new loadXmlHttp(url, 'ajax_reponse'); setInterval(function(){new loadXmlHttp(url, 'ajax_reponse');}, 1222); } @@ -129,4 +133,4 @@ echo ""; //show the header require_once "resources/footer.php"; -?> \ No newline at end of file +?>