mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-17 15:02:48 +00:00
数据库备份
This commit is contained in:
parent
7f3a40071e
commit
35fd9537ff
@ -119,7 +119,8 @@ 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')==0?0:null;
|
$start = $request->post('start')!=''?0:null;
|
||||||
|
var_dump($request->post('start'));
|
||||||
$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