use site name for backup archive name

This commit is contained in:
Gert
2015-04-27 16:13:48 +02:00
parent e1d655a3ac
commit bbdb0189f1

View File

@@ -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());