From 3d36d991b7e41f3e0bb82c1326093b464ad0954b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Wed, 22 Feb 2017 14:26:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E4=BB=B6=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/Plugs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/controller/Plugs.php b/application/admin/controller/Plugs.php index 6e66e9d4a..cebfbd4d2 100644 --- a/application/admin/controller/Plugs.php +++ b/application/admin/controller/Plugs.php @@ -48,7 +48,7 @@ class Plugs extends BasicAdmin { public function upstate() { $post = $this->request->post(); // 组装返回数据 - $data = array(); + $data = []; $data['uptype'] = $post['uptype']; $ext = pathinfo($post['filename'], PATHINFO_EXTENSION); $data['file_url'] = join('/', str_split($post['md5'], 16)) . ".{$ext}";