mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-23 10:10:27 +00:00
数据库备份
This commit is contained in:
parent
7c6168c0ba
commit
700fe3b8cb
@ -118,7 +118,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') ? intval($request->post('part')) :null;
|
||||||
$start = $request->post('start') === '0' ? 0 : null;
|
$start = $request->post('start') === '0' ? 0 : null;
|
||||||
$time = strtotime($request->post('time'));
|
$time = strtotime($request->post('time'));
|
||||||
$db = $this->DB;
|
$db = $this->DB;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user