Correzione modulo backup in caso di permessi mancanti

This commit is contained in:
Thomas Zilio 2020-03-09 15:00:34 +01:00
parent 6c6b657101
commit 49ee854fd3
1 changed files with 9 additions and 0 deletions

9
modules/backups/init.php Normal file
View File

@ -0,0 +1,9 @@
<?php
include_once __DIR__.'/../../core.php';
try {
$backup_dir = Backup::getDirectory();
}catch (UnexpectedValueException $e){
}