mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-07 14:25:35 +00:00
数据库备份
This commit is contained in:
parent
aea7f34b70
commit
3e950269ef
@ -119,7 +119,7 @@ class SystemDatabackup extends AuthController
|
||||
public function import(Request $request = null)
|
||||
{
|
||||
$part = $request->post('part')?:null;
|
||||
$start = $request->post('start')==0?0:null;
|
||||
$start = $request->post('start') === '0' ? 0 : null;
|
||||
$time = strtotime($request->post('time'));
|
||||
$db = $this->DB;
|
||||
if(is_numeric($time) && is_null($part) && is_null($start)){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user