diff --git a/main/install/update-files-1.10.0-1.11.0.inc.php b/main/install/update-files-1.10.0-1.11.0.inc.php index 45c23d2e84..990001fb85 100644 --- a/main/install/update-files-1.10.0-1.11.0.inc.php +++ b/main/install/update-files-1.10.0-1.11.0.inc.php @@ -24,12 +24,12 @@ if (defined('SYSTEM_INSTALLATION')) { // The main/exercice path was moved to main/exercise, so the code from 1.11 // should just create the new directory, and we should delete the previous // one to avoid the web server to use the old - $exercisePath = api_get_path(SYS_CODE_PATH).'exercice'; + $exercisePath = api_get_path(SYS_CODE_PATH) . 'exercice'; if (is_dir($exercisePath)) { @rrmdir($exercisePath); } // Same with main/newscorm, renamed main/lp - $lpPath = api_get_path(SYS_CODE_PATH).'lp'; + $lpPath = api_get_path(SYS_CODE_PATH) . 'newscorm'; if (is_dir($lpPath)) { @rrmdir($lpPath); }