forked from ZwiiCMS-Team/ZwiiCMS
nettoyage du dossier data lors d'un import
This commit is contained in:
parent
b00e4ed91e
commit
6f663ec3fe
@ -340,6 +340,7 @@ class config extends common {
|
||||
$_SESSION['KEEP_USERS'] = $this->getInput('configRestoreImportUser', helper::FILTER_BOOLEAN);
|
||||
}
|
||||
// Extraire le zip ou 'site/'
|
||||
$this->removeDir(self::DATA_DIR);
|
||||
$success = $zip->extractTo( 'site/' );
|
||||
// Fermer l'archive
|
||||
$zip->close();
|
||||
|
Loading…
Reference in New Issue
Block a user