back_compat.inc.php 813 B

12345678910111213141516
  1. <?php //$id: $
  2. /**
  3. * This script used to allow compatibility between the New SCORM tool and both
  4. * version 1.6.3 and 1.8 of Dokeos by loading libraries in a different way.
  5. * The switch is now deprecated and this file will be renamed later on to
  6. * something like lp_includes.inc.php
  7. * @package dokeos.learnpath
  8. */
  9. require_once('../inc/global.inc.php');
  10. require_once(api_get_path(LIBRARY_PATH) . 'database.lib.php');
  11. require_once(api_get_path(LIBRARY_PATH) . 'document.lib.php');
  12. require_once(api_get_path(LIBRARY_PATH) . 'fileDisplay.lib.php');
  13. require_once(api_get_path(LIBRARY_PATH) . 'fileUpload.lib.php'); //replace_dangerous_char()
  14. require_once(api_get_path(LIBRARY_PATH) . 'fileManage.lib.php'); //check_name_exists()
  15. require_once(api_get_path(LIBRARY_PATH) . 'pclzip/pclzip.lib.php');
  16. ?>