@@ -27,6 +27,9 @@
==============================================================================
*/
+//flag to allow for anonymous user - needs to be set before global.inc.php
+$use_anonymous = true;
+
//Load common libraries using a compatibility script to bridge between 1.6 and 1.8
require_once('back_compat.inc.php');
//Load learning path libraries so we can use the objects to define the initial values
@@ -36,6 +36,10 @@
$debug = 0;
//Use session ID as provided by the request
if(!empty($_REQUEST['aicc_sid']))
{
@@ -10,6 +10,10 @@
$language_file[] = "learnpath";
require('../inc/global.inc.php');
include_once('../inc/reduced_header.inc.php');
@@ -8,6 +8,10 @@
/**
* Script
require_once('learnpath.class.php');
require_once('scorm.class.php');
@@ -38,6 +38,8 @@
// name of the language file that needs to be included
$language_file = "scormdocument";
require('back_compat.inc.php');
include("../learnpath/learnpath_functions.inc.php");
@@ -8,6 +8,9 @@
header('location: lp_controller.php?'.api_get_cidReq().'&action=list');
?>
//require_once('lp_comm.common.php'); //xajax functions
//$htmlHeadXtra[] = $xajax->getJavascript('../inc/lib/xajax/')."\n";
@@ -9,6 +9,9 @@
@@ -9,6 +9,8 @@
$language_file[] = 'learnpath';
@@ -16,6 +16,9 @@ $language_file[] = "scormdocument";
$language_file[] = "scorm";
//include class definitions before session_start() to ensure availability when touching
//session vars containing learning paths
@@ -7,6 +7,8 @@
Display::display_footer();
$language_file[] = "scormdocument";
@@ -16,6 +16,8 @@
$charset = 'ISO-8859-1';
$htmlHeadXtra[] = '<script language="javascript">
$language_file = "learnpath";
@@ -8,6 +8,8 @@
* Script initialisations
$course_dir = api_get_course_path().'/scorm';
$course_sys_dir = api_get_path(SYS_COURSE_PATH).$course_dir;
@@ -41,6 +41,8 @@
#$language_file = "resourcelinker";
include(api_get_path(SYS_CODE_PATH).'lang/english/resourcelinker.inc.php');
if(!empty($_course['language'])){
INIT SECTION
$language_file = 'resourcelinker';
@@ -34,13 +34,15 @@
* Script init
$uncompress=1; //this variable shouldn't be found here (find its usage before removal)
-include("../learnpath/learnpath_functions.inc.php");
+include('learnpath_functions.inc.php');
include_once('scorm.lib.php');
$is_allowedToEdit = api_is_allowed_to_edit();
@@ -48,6 +48,8 @@
// var result = api.LMSInitialize("");
// get the error response : you are not authorized to call this function