suppression fichiers créés lors désinstallation ; suppression majuscule dans nom plugin

FossilOrigin-Name: 2134225b5757bee55253c1af81ba9f3dab5ea2f948c93ae42d76d3af6164f370
This commit is contained in:
engel 2022-03-02 12:38:15 +00:00
parent 26c113349a
commit cc6c46f59d
9 changed files with 23 additions and 13 deletions

View file

@ -13,9 +13,7 @@ if (!File::checkCreateAccess($parent, $session)) {
$csrf_key = 'upload_file_' . md5($parent);
$form->runIf('upload', function () use ($parent) {
$sig_file = File::uploadMultiple($parent, 'file');
$_SESSION['sig_file'] = $sig_file;
$_SESSION['sig_file'] = File::uploadMultiple($parent, 'file');
}, $csrf_key, PLUGIN_ROOT . '/www/admin/config.php');
$tpl->assign(compact('parent', 'csrf_key'));