diff --git a/core/core.php b/core/core.php index 4900192..0610673 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.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 = [ diff --git a/core/module/course/course.php b/core/module/course/course.php index c85d8f8..08a4339 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); }