From b764260647fa675d08d1a6d0653b5b41078c2dd8 Mon Sep 17 00:00:00 2001 From: liuweiwen <“529520975@qq.com> Date: Thu, 28 Nov 2019 18:07:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E4=B8=8A=E4=BC=A0=E5=AE=98?= =?UTF-8?q?=E7=BD=91=E9=99=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/FileController.class.php | 2 -- Application/Admin/View/Site/media.html | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Application/Admin/Controller/FileController.class.php b/Application/Admin/Controller/FileController.class.php index 864003999..44f7c7a50 100644 --- a/Application/Admin/Controller/FileController.class.php +++ b/Application/Admin/Controller/FileController.class.php @@ -249,8 +249,6 @@ class FileController extends AdminController C("UPLOAD_{$file_driver}_CONFIG"), $_REQUEST['flag'] ); //TODO:上传到远程服务器 - - /* 记录图片信息 */ if ($info) { $return['status'] = 1; diff --git a/Application/Admin/View/Site/media.html b/Application/Admin/View/Site/media.html index d65972025..6fcd1322c 100644 --- a/Application/Admin/View/Site/media.html +++ b/Application/Admin/View/Site/media.html @@ -171,7 +171,7 @@ "swf" : "__STATIC__/uploadify/uploadify.swf", - "fileObjName" : "download", + "fileObjName" : "download", "buttonText" : "上传文档", @@ -181,7 +181,7 @@ 'removeTimeout' : 1, - 'fileTypeExts' : '*.doc; *.docx;', + 'fileTypeExts' : '*', "onUploadSuccess" : uploadPicture{$field.name},