1403 move enrolment database in course folder

This commit is contained in:
Fred Tempez 2024-01-03 14:54:32 +01:00
parent a73b65d3fc
commit c6364183af
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.02';
const ZWII_VERSION = '1.4.03';
// URL autoupdate
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';
@ -223,7 +223,6 @@ class common
'user' => '',
'language' => '',
'profil' => '',
'enrolment' => '',
'category' => '',
];
@ -231,6 +230,7 @@ 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);
}