From c6364183afcd2d1dba827cf60014667341313cc5 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 3 Jan 2024 14:54:32 +0100 Subject: [PATCH] 1403 move enrolment database in course folder --- core/core.php | 4 ++-- core/module/course/course.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index 0610673..4900192 100644 --- a/core/core.php +++ b/core/core.php @@ -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 = [ diff --git a/core/module/course/course.php b/core/module/course/course.php index 08a4339..c85d8f8 100644 --- a/core/module/course/course.php +++ b/core/module/course/course.php @@ -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); }