소스 검색

数据库备份

sugar1569 7 년 전
부모
커밋
1a7127fe3f
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      application/admin/controller/system/SystemDatabackup.php

+ 2 - 4
application/admin/controller/system/SystemDatabackup.php

@@ -165,9 +165,7 @@ class SystemDatabackup extends AuthController
      */
     public function downloadFile(Request $request = null)
     {
-        echo $request->get('feilname');
-        $time = intval($request->get('feilname'));
-        echo $time;
-        $this->DB->downloadFile($time,1);
+        $time = intval($request->param('feilname'));
+        $this->DB->downloadFile($time);
     }
 }