diff --git a/core/class/template.class.php b/core/class/template.class.php index fae1076..e57eb08 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -369,9 +369,9 @@ class template '&type=' . $attributes['type'] . '&akey=' . md5_file(core::DATA_DIR . 'core.json') . // Ajoute le nom du dossier si la variable est passée - (!empty($attributes['folder']) ? '&fldr=' . $attributes['folder'] : '') . - ($attributes['extensions'] ? '&extensions=' . $attributes['extensions'] : '') - . '" + (empty($attributes['folder']) ? '&fldr=/': '&fldr=' . $attributes['folder']) . + ($attributes['extensions'] ? '&extensions=' . $attributes['extensions'] : '') . + '" class="inputFile %s %s" %s data-lity diff --git a/core/module/config/view/backup/backup.php b/core/module/config/view/backup/backup.php index 4695f27..5e276eb 100644 --- a/core/module/config/view/backup/backup.php +++ b/core/module/config/view/backup/backup.php @@ -17,7 +17,8 @@