forked from ZwiiCMS-Team/ZwiiCampus
'course' devient ''
This commit is contained in:
parent
db0637ca1c
commit
0535556b68
@ -458,7 +458,7 @@ class init extends common
|
|||||||
'copycut' => false,
|
'copycut' => false,
|
||||||
'chmod' => false,
|
'chmod' => false,
|
||||||
'share' => true,
|
'share' => true,
|
||||||
'coursePath' => 'none',
|
'coursePath' => '',
|
||||||
'homePath' => '/site/file/source/partage/'
|
'homePath' => '/site/file/source/partage/'
|
||||||
],
|
],
|
||||||
'page' => [
|
'page' => [
|
||||||
@ -555,7 +555,7 @@ class init extends common
|
|||||||
'copycut' => true,
|
'copycut' => true,
|
||||||
'chmod' => true,
|
'chmod' => true,
|
||||||
'share' => true,
|
'share' => true,
|
||||||
'coursePath' => 'none',
|
'coursePath' => '',
|
||||||
'homePath' => '/site/file/source/partage/'
|
'homePath' => '/site/file/source/partage/'
|
||||||
],
|
],
|
||||||
'page' => [
|
'page' => [
|
||||||
|
@ -769,7 +769,7 @@ class user extends common
|
|||||||
|
|
||||||
self::$sharePath = array_flip(self::$sharePath);
|
self::$sharePath = array_flip(self::$sharePath);
|
||||||
self::$sharePath = array_merge(['none' => 'Aucun Accès'], self::$sharePath);
|
self::$sharePath = array_merge(['none' => 'Aucun Accès'], self::$sharePath);
|
||||||
self::$sharePath = array_merge(['course' => 'Confiné dans le dossier de l\'espace ouvert'], self::$sharePath);
|
self::$sharePath = array_merge(['' => 'Confiné dans le dossier de l\'espace ouvert'], self::$sharePath);
|
||||||
self::$sharePath = array_merge(['/site/file/source/' => 'Tout le gestionnaire de fichiers'], self::$sharePath);
|
self::$sharePath = array_merge(['/site/file/source/' => 'Tout le gestionnaire de fichiers'], self::$sharePath);
|
||||||
|
|
||||||
// Liste des modules installés
|
// Liste des modules installés
|
||||||
@ -971,7 +971,7 @@ class user extends common
|
|||||||
|
|
||||||
self::$sharePath = array_flip(self::$sharePath);
|
self::$sharePath = array_flip(self::$sharePath);
|
||||||
self::$sharePath = array_merge(['none' => 'Aucun Accès'], self::$sharePath);
|
self::$sharePath = array_merge(['none' => 'Aucun Accès'], self::$sharePath);
|
||||||
self::$sharePath = array_merge(['course' => 'Confiné dans le dossier de l\'espace ouvert'], self::$sharePath);
|
self::$sharePath = array_merge(['' => 'Confiné dans le dossier de l\'espace ouvert'], self::$sharePath);
|
||||||
self::$sharePath = array_merge(['./site/file/source/' => 'Tout le gestionnaire de fichiers'], self::$sharePath);
|
self::$sharePath = array_merge(['./site/file/source/' => 'Tout le gestionnaire de fichiers'], self::$sharePath);
|
||||||
|
|
||||||
// Liste des modules installés
|
// Liste des modules installés
|
||||||
|
2
core/vendor/filemanager/config/config.php
vendored
2
core/vendor/filemanager/config/config.php
vendored
@ -75,7 +75,7 @@ if (!is_null($u) && !is_null($g) && !is_null($userId)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Un dossier renvoie vers le dossier confiné
|
// Un dossier renvoie vers le dossier confiné
|
||||||
$uploadDir = $sharedPath === 'course' ? '/site/file/source/' . $courseId . '/' : $sharedPath;
|
$uploadDir = $sharedPath === '' ? '/site/file/source/' . $courseId . '/' : $sharedPath;
|
||||||
|
|
||||||
$currentPath = '../../../' . $uploadDir;
|
$currentPath = '../../../' . $uploadDir;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user