mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-20 01:12:50 +00:00
数据库备份
This commit is contained in:
parent
6bed3ca6fa
commit
752834b967
@ -120,7 +120,7 @@ class SystemDatabackup extends AuthController
|
||||
public function import(Request $request = null)
|
||||
{
|
||||
$part = $request->post('part') ? intval($request->post('part')) :null;
|
||||
$start = $request->post('start') === '0' ? 0 : null;
|
||||
$start = $request->post('start') === '0' ? intval($request->post('part')) : null;
|
||||
$time = intval($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