upload.scorm.php 585 B

12345678910111213141516
  1. <?php //$id: $
  2. /**
  3. * Process part of the SCORM sub-process for upload. This script MUST BE included by upload/index.php
  4. * as it prepares most of the variables needed here.
  5. * @package dokeos.upload
  6. * @author Yannick Warnier <ywarnier@beeznest.org>
  7. */
  8. /**
  9. * Process the SCORM package and return to the SCORM tool
  10. */
  11. $cwdir = getcwd();
  12. require('../newscorm/lp_upload.php');
  13. //reinit current working directory as many functions in upload change it
  14. chdir($cwdir);
  15. header('location: ../newscorm/lp_controller.php?action=list&dialog_box='.urlencode(get_lang('UplUploadSucceeded')));
  16. ?>