[svn r17795] FIX MS IE bug (Q272359) when using hotspot test on an https portal

skala
Arnaud Ligot 17 years ago
parent 4fce40bf92
commit 4c339b732a
  1. 11
      main/document/download.php
  2. 3
      main/exercice/hotspot.inc.php
  3. 3
      main/exercice/hotspot_actionscript.as.php

@ -1,4 +1,4 @@
<?php // $Id: download.php 17433 2008-12-23 10:56:06Z derrj $
<?php // $Id: download.php 17795 2009-01-17 19:31:51Z spyroux $
/*
==============================================================================
Dokeos - elearning and course management software
@ -48,18 +48,13 @@
==============================================================================
*/
session_cache_limiter('public');
session_cache_limiter('none');
include('../inc/global.inc.php');
$this_section=SECTION_COURSES;
include(api_get_path(LIBRARY_PATH).'document.lib.php');
// IMPORTANT to avoid caching of documents
header('Expires: Wed, 01 Jan 1990 00:00:00 GMT');
header('Cache-Control: public');
header('Pragma: no-cache');
//protection
api_protect_course_script();
@ -108,4 +103,4 @@ if (!$is_allowed_to_edit &&
}
DocumentManager::file_send_for_download($full_file_name);
?>
?>

@ -25,6 +25,7 @@
* @version $Id: admin.php 10680 2007-01-11 21:26:23Z pcool $
*/
session_cache_limiter("none");
include_once('../inc/global.inc.php');
@ -63,4 +64,4 @@ foreach($temp as $value)
{
echo $value . ' ';
}
?>
?>

@ -24,6 +24,7 @@
* @author Toon Keppens
* @version $Id: admin.php 10680 2007-01-11 21:26:23Z pcool $
*/
session_cache_limiter("none");
include('exercise.class.php');
include('question.class.php');
@ -100,4 +101,4 @@ for ($i; $i <= 12; $i++)
// Output
echo $output."&nmbrTries=".$nmbrTries."&done=done";
?>
?>

Loading…
Cancel
Save