update-files-1.11.0-2.0.0.inc.php 826 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * Chamilo LMS.
  5. *
  6. * Updates the Chamilo files from version 1.10.0 to version 1.11.0
  7. * This script operates only in the case of an update, and only to change the
  8. * active version number (and other things that might need a change) in the
  9. * current configuration file.
  10. *
  11. * @package chamilo.install
  12. */
  13. error_log("Starting ".basename(__FILE__));
  14. global $debug;
  15. if (defined('SYSTEM_INSTALLATION')) {
  16. // Changes for 2.0.0
  17. $pluginPath = api_get_path(SYS_PLUGIN_PATH);
  18. // The ims_lti plugin has been integrated to core in 2.0
  19. $ltiPluginPath = $pluginPath.'ims_lti';
  20. if (is_dir($ltiPluginPath)) {
  21. @rrmdir($ltiPluginPath);
  22. }
  23. error_log('Finish script '.basename(__FILE__));
  24. } else {
  25. echo 'You are not allowed here !'.__FILE__;
  26. }