Minor - Adding headers

skala
Julio Montoya 15 years ago
parent 09f40030e3
commit ce635f1242
  1. 9
      main/conference/api.php
  2. 4
      main/conference/audiopost.php
  3. 2
      main/conference/checksession.php
  4. 2
      main/conference/get_translation.lib.php
  5. 9
      main/conference/index.php
  6. 2
      main/conference/testpost.php
  7. 2
      main/conference/videoconference.php

@ -1,14 +1,13 @@
<?php
/* See license terms in /dokeos_license.txt */
/* See license terms in /license.txt */
/* FIX for IE cache when using https */
session_cache_limiter("none");
/**
==============================================================================
* This is an interface between Dokeos and Videoconference application
* This is an interface between Chamilo and Videoconference application
*
==============================================================================
*/
/*==== DEBUG ====*/
$debug=0;
@ -42,7 +41,7 @@ if ($_SERVER['HTTP_USER_AGENT'] == 'Shockwave Flash') {
} */
/*==== INCLUDE ====*/
require_once ('../inc/global.inc.php');
require_once '../inc/global.inc.php';
api_block_anonymous_users();
require_once (api_get_path(LIBRARY_PATH)."course.lib.php");
require_once (api_get_path(LIBRARY_PATH)."document.lib.php");

@ -1,8 +1,10 @@
<?php
/* See license terms in /license.txt */
//file_put_contents("result.txt", print_r($_POST, true));
//file_put_contents("result3.txt", print_r($_FILES, true));
//file_put_contents("result2.txt", print_r($_GET, true));
require('../inc/global.inc.php');
require_once '../inc/global.inc.php';
// check the request comes from our red5 server
$ips = gethostbynamel(api_get_setting('service_visio','visio_host'));

@ -1,5 +1,5 @@
<?php
/* See license terms in /dokeos_license.txt */
/* See license terms in /license.txt */
/* FIX for IE cache when using https */
session_cache_limiter("none");

@ -1,5 +1,5 @@
<?php
/* See license terms in /chamilo_license.txt */
/* See license terms in /license.txt */
/**
* Library for language translation from Chamilo language files to XML for videoconference
* @uses main_api.lib.php for api_get_path()

@ -1,11 +1,14 @@
<?php
/* See license terms in /dokeos_license.txt */
/* See license terms in /license.txt */
/**
* Generates the HTML page containing the iframe that loads the videoconference's Flash plugin
*/
include("../inc/global.inc.php");
require_once '../inc/global.inc.php';
api_protect_course_script();
$_SESSION["roomType"] = $_GET['type'];
//Not sure what values can be set here I just found that $_SESSION["roomType"] could be the string "conference"
if ($_GET['type'] == 'conference') {
$_SESSION["roomType"] = $_GET['type'];
}
?>
<span align="center">
<iframe frameborder="0" scrolling="no" width="100%" height="100%" src="videoconference.php"></iframe>

@ -1,4 +1,6 @@
<?php
/* See license terms in /license.txt */
//file_put_contents("result.txt", print_r($_POST, true));
//file_put_contents("result3.txt", print_r($_FILES, true));
//file_put_contents("result2.txt", print_r($_GET, true));

@ -1,4 +1,4 @@
<?php require('../inc/global.inc.php'); ?>
<?php require_once '../inc/global.inc.php';?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

Loading…
Cancel
Save