Explorar el Código

数据库备份

xurongyao hace 7 años
padre
commit
b0469965d9
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      vendor/tp5er/tp5-databackup/src/Backup.php

+ 1 - 0
vendor/tp5er/tp5-databackup/src/Backup.php

@@ -151,6 +151,7 @@ class Backup
                 $extension = strtoupper(pathinfo($file->getFilename(), PATHINFO_EXTENSION));
                 $info['compress'] = $extension === 'SQL' ? '-' : $extension;
                 $info['time'] = strtotime("{$date} {$time}");
+                $info['name'] = $file->getFilename();
                 $list["{$date} {$time}"] = $info;
             }
         }