Config RFM à tester
This commit is contained in:
parent
71fd25f02c
commit
19f1685d8a
18
core/vendor/filemanager/config/config.php
vendored
18
core/vendor/filemanager/config/config.php
vendored
@ -48,13 +48,17 @@ if (!is_null($u) && !is_null($g) && !is_null($userId)) {
|
|||||||
case 2:
|
case 2:
|
||||||
case 1:
|
case 1:
|
||||||
$profil = $u['user'][$userId]['profil'];
|
$profil = $u['user'][$userId]['profil'];
|
||||||
$file = $g['profil'][$group][$profil]['file'];
|
if (!is_null($profil)) {
|
||||||
$folder = $g['profil'][$group][$profil]['folder'];
|
$file = $g['profil'][$group][$profil]['file'];
|
||||||
$uploadDir = $g['profil'][$group][$profil]['folder']['path'];
|
$folder = $g['profil'][$group][$profil]['folder'];
|
||||||
$currentPath = '../../../' . $uploadDir;
|
$uploadDir = $g['profil'][$group][$profil]['folder']['path'];
|
||||||
if (!is_dir($currentPath))
|
$currentPath = '../../../' . $uploadDir;
|
||||||
mkdir($currentPath);
|
if (!is_dir($currentPath)) {
|
||||||
break;
|
mkdir($currentPath);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// Applique default si $profil null
|
||||||
default:
|
default:
|
||||||
$file['delete'] = false;
|
$file['delete'] = false;
|
||||||
$file['upload'] = false;
|
$file['upload'] = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user