Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/public/main/install/update-files-1.11.0-2.0.0.i...

32 lines
795 B

<?php
/* For licensing terms, see /license.txt */
/**
* Chamilo LMS.
*
* Updates the Chamilo files from version 1.10.0 to version 1.11.0
* This script operates only in the case of an update, and only to change the
* active version number (and other things that might need a change) in the
* current configuration file.
*/
error_log("Starting ".basename(__FILE__));
global $debug;
if (defined('SYSTEM_INSTALLATION')) {
// Changes for 2.0.0
$pluginPath = api_get_path(SYS_PLUGIN_PATH);
// The ims_lti plugin has been integrated to core in 2.0
$ltiPluginPath = $pluginPath.'ims_lti';
if (is_dir($ltiPluginPath)) {
@rrmdir($ltiPluginPath);
}
error_log('Finish script '.basename(__FILE__));
} else {
echo 'You are not allowed here !'.__FILE__;
}