mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-20 23:58:11 +00:00
数据库备份
This commit is contained in:
parent
410e42702f
commit
3fceb6c302
@ -119,7 +119,7 @@ class SystemDatabackup extends AuthController
|
|||||||
public function import(Request $request = null)
|
public function import(Request $request = null)
|
||||||
{
|
{
|
||||||
$part = $request->post('part')?:null;
|
$part = $request->post('part')?:null;
|
||||||
$start = $request->post('start')?:null;
|
$start = $request->post('start')?:0;
|
||||||
$time = strtotime($request->post('time'));
|
$time = strtotime($request->post('time'));
|
||||||
$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)){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user