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},