diff --git a/README.md b/README.md index fec0b76..4a4a557 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ZwiiCampus 1.6.02 +# ZwiiCampus 1.7.00 ZwiiCampus (Learning Management System) est logiciel auteur destiné à mettre en ligne des tutoriels. Il dispose de plusieurs modalités d'ouverture et d'accès des contenus. Basé sur la version 13 du CMS Zwii, la structure logicielle est solide, le framework de Zwii est éprouvé. diff --git a/core/core.php b/core/core.php index f3e8321..ca8bbf4 100644 --- a/core/core.php +++ b/core/core.php @@ -51,7 +51,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '1.6.02'; + const ZWII_VERSION = '1.7.00'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index 420ee6c..43397e0 100644 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -64,7 +64,7 @@ class init extends common ] ], 'core' => [ - 'dataVersion' => 1000, + 'dataVersion' => 1700, 'lastBackup' => 0, 'lastClearTmp' => 0, 'lastAutoUpdate' => 0, @@ -261,7 +261,8 @@ class init extends common 'copycut' => false, 'chmod' => false, 'share' => false, - 'path' => null, + 'coursePath' => '', + 'homePath' => '' ], 'page' => [ 'add' => false, @@ -356,7 +357,8 @@ class init extends common 'copycut' => false, 'chmod' => false, 'share' => true, - 'path' => '/site/file/source/partage/', + 'coursePath' => '/site/file/source/partage/', + 'homePath' => '/site/file/source/partage/' ], 'page' => [ 'add' => false, @@ -456,7 +458,8 @@ class init extends common 'copycut' => false, 'chmod' => false, 'share' => true, - 'path' => '', + 'coursePath' => '', + 'homePath' => '/site/file/source/partage/' ], 'page' => [ 'add' => false, @@ -552,7 +555,8 @@ class init extends common 'copycut' => true, 'chmod' => true, 'share' => true, - 'path' => '', + 'coursePath' => '', + 'homePath' => '/site/file/source/partage/' ], 'page' => [ 'add' => true, diff --git a/core/module/install/ressource/files.tar.gz b/core/module/install/ressource/files.tar.gz index 3b3724a..f1fc269 100644 Binary files a/core/module/install/ressource/files.tar.gz and b/core/module/install/ressource/files.tar.gz differ diff --git a/core/vendor/filemanager/config/config.php b/core/vendor/filemanager/config/config.php index 3b07d26..d019cd4 100644 --- a/core/vendor/filemanager/config/config.php +++ b/core/vendor/filemanager/config/config.php @@ -71,6 +71,8 @@ if (!is_null($u) && !is_null($g) && !is_null($userId)) { $uploadDir = empty($sharedPath) ? '/site/file/source/' . $courseId . '/' : $sharedPath; $currentPath = '../../..' . $uploadDir . '/'; + + // Affiche un message d'erreur du le dossier partagé a été supprimé. if (is_dir($uploadDir) == false ) { exit("