back_compat.inc.php 561 B

123456789101112131415
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * This script used to allow compatibility between the New SCORM tool and both
  5. * version 1.6.3 and 1.8 of Dokeos by loading libraries in a different way.
  6. * The switch is now deprecated and this file will be renamed later on to
  7. * something like lp_includes.inc.php
  8. * @package chamilo.learnpath
  9. */
  10. /**
  11. * Code
  12. */
  13. require_once '../inc/global.inc.php';
  14. require_once api_get_path(LIBRARY_PATH).'fileDisplay.lib.php';
  15. require_once api_get_path(LIBRARY_PATH).'fileUpload.lib.php'; // replace_dangerous_char()