Revert "1403 move enrolment database in course folder"

This reverts commit c6364183af.
This commit is contained in:
Fred Tempez 2024-01-03 15:20:05 +01:00
parent c6364183af
commit 1c1969dc49
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ class common
const ACCESS_TIMER = 1800;
// Numéro de version
const ZWII_VERSION = '1.4.03';
const ZWII_VERSION = '1.4.02';
// URL autoupdate
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';
@ -223,6 +223,7 @@ class common
'user' => '',
'language' => '',
'profil' => '',
'enrolment' => '',
'category' => '',
];
@ -230,7 +231,6 @@ class common
'page' => '',
'module' => '',
'theme' => '',
'enrolment' => '',
];
public static $fontsWebSafe = [

View File

@ -309,7 +309,7 @@ class course extends common
}
// Dossier du gestionnaire de fichier
if (is_dir(self::FILE_DIR . 'source/' . $courseId)) {
if (is_dir(self::FILE_DIR . 'source/' . $courseId)) {
$this->deleteDir(self::FILE_DIR . 'source/' . $courseId);
}