Explorar o código

数据库备份

xurongyao %!s(int64=7) %!d(string=hai) anos
pai
achega
39907b46c1
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      vendor/tp5er/tp5-databackup/src/Backup.php

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

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