[svn r10055] remove the include of xajax library (now included in global.inc.php)

skala
Eric Marguin 19 years ago
parent bbe5514455
commit 87687fad37
  1. 4
      main/document/document.php
  2. 4
      main/newscorm/lp_comm.common.php

@ -1,4 +1,4 @@
<?php // $Id: document.php 9985 2006-11-15 00:43:47Z pcool $ <?php // $Id: document.php 10055 2006-11-20 16:03:52Z elixir_inter $
/* /*
============================================================================== ==============================================================================
Dokeos - elearning and course management software Dokeos - elearning and course management software
@ -67,7 +67,7 @@ include("../inc/global.inc.php");
$this_section=SECTION_COURSES; $this_section=SECTION_COURSES;
include('document.inc.php'); include('document.inc.php');
include(api_get_path(LIBRARY_PATH).'/xajax/xajax.inc.php'); //include(api_get_path(LIBRARY_PATH).'/xajax/xajax.inc.php');
$xajax = new Xajax(); $xajax = new Xajax();

@ -11,7 +11,9 @@
*/ */
require_once('back_compat.inc.php'); require_once('back_compat.inc.php');
require_once('learnpath.class.php'); require_once('learnpath.class.php');
require('../inc/lib/xajax/xajax.inc.php');
//the library is included in global.inc.php
//require('../inc/lib/xajax/xajax.inc.php');
$xajax = new xajax(api_get_path(WEB_CODE_PATH).'newscorm/lp_comm.server.php'); $xajax = new xajax(api_get_path(WEB_CODE_PATH).'newscorm/lp_comm.server.php');
$xajax->registerFunction("save_item"); $xajax->registerFunction("save_item");
$xajax->registerFunction("switch_item_details"); $xajax->registerFunction("switch_item_details");

Loading…
Cancel
Save