mirror of
https://github.com/getgrav/grav.git
synced 2026-03-04 19:41:36 +01:00
use site name for backup archive name
This commit is contained in:
@@ -22,7 +22,7 @@ class ZipBackup
|
||||
Folder::mkdir($destination);
|
||||
}
|
||||
|
||||
$name = basename(GRAV_ROOT);
|
||||
$name = self::getGrav()['config']->get('site.title', basename(GRAV_ROOT));
|
||||
|
||||
if (is_dir($destination)) {
|
||||
$date = date('YmdHis', time());
|
||||
|
||||
Reference in New Issue
Block a user