mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-16 14:22:48 +00:00
数据库备份
This commit is contained in:
parent
3c0f6ea576
commit
d355826e7f
@ -123,9 +123,10 @@ class SystemDatabackup extends AuthController
|
||||
$db = $this->DB;
|
||||
if(is_numeric($time) && is_null($part) && is_null($start)){
|
||||
$list= $db->getFile('timeverif',$time);
|
||||
var_dump($list);
|
||||
if(is_array($list)){
|
||||
session::set('backup_list',$list);
|
||||
$this->success('初始化完成!','',array('part' =>1,'start'=>0));
|
||||
$this->success('初始化完成!','',array('part' =>1,'start'=>0));
|
||||
}else{
|
||||
$this->error('备份文件可能已经损坏,请检查!');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user