forked from ZwiiCMS-Team/ZwiiCampus
1.6.00 Bug de chemin des images
This commit is contained in:
parent
260098d0a5
commit
d42ce3c733
6
core/vendor/filemanager/config/config.php
vendored
6
core/vendor/filemanager/config/config.php
vendored
@ -50,10 +50,10 @@ if (!is_null($u) && !is_null($g) && !is_null($userId)) {
|
||||
isset($courseId)
|
||||
&& $courseId != 'home'
|
||||
) {
|
||||
$uploadDir = 'site/file/source/' . $courseId;
|
||||
$uploadDir = '/site/file/source/' . $courseId . '/';
|
||||
$currentPath = '../../../site/file/source/' . $courseId . '/';
|
||||
} else {
|
||||
$uploadDir = 'site/file/source/';
|
||||
$uploadDir = '/site/file/source/';
|
||||
$currentPath = '../../../site/file/source/';
|
||||
}
|
||||
break;
|
||||
@ -83,7 +83,7 @@ if (!is_null($u) && !is_null($g) && !is_null($userId)) {
|
||||
|
||||
} else {
|
||||
// Le membre est dans un espace, forçage vers le dossier de l'espace
|
||||
$uploadDir = 'site/file/source/' . $courseId;
|
||||
$uploadDir = '/site/file/source/' . $courseId . '/';
|
||||
$currentPath = '../../../site/file/source/' . $courseId . '/';
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user