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