mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-17 15:02:48 +00:00
数据库备份
This commit is contained in:
parent
752834b967
commit
1fe59ac12c
@ -119,8 +119,8 @@ class SystemDatabackup extends AuthController
|
||||
*/
|
||||
public function import(Request $request = null)
|
||||
{
|
||||
$part = $request->post('part') ? intval($request->post('part')) :null;
|
||||
$start = $request->post('start') === '0' ? intval($request->post('part')) : null;
|
||||
$part = $request->post('part') != '' ? intval($request->post('part')) :null;
|
||||
$start = $request->post('start') != '' ? intval($request->post('start')) : 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