From 44e6a851e0b4a28a8d8cdc259bda60bca03a40de Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Fri, 28 Oct 2011 09:54:25 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0pdf=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E7=9A=84=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/models/files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/files.php b/application/models/files.php index 0a39cb65..5c76c388 100644 --- a/application/models/files.php +++ b/application/models/files.php @@ -26,7 +26,7 @@ class files{ 'flash' => array('swf', 'flv'), 'media' => array('swf', 'flv', 'mp3', 'wav', 'wma', 'wmv', 'mid', 'avi', 'mpg', 'asf', 'rm', 'rmvb'), 'file' => array('doc', 'docx', 'xls', 'xlsx', 'ppt', 'htm', 'html', 'txt', 'zip', 'rar', 'gz', 'bz2'), - 'reviewatt'=>array('doc', 'docx', 'xls', 'xlsx', 'ppt', 'htm', 'html', 'txt', 'zip', 'rar', 'gz', 'bz2','gif', 'jpg', 'jpeg', 'png', 'bmp') + 'reviewatt'=>array('doc', 'docx', 'xls', 'xlsx', 'ppt', 'htm', 'html', 'txt', 'zip', 'rar', 'gz', 'bz2','gif', 'jpg', 'jpeg', 'png', 'bmp','pdf') ); //最大文件大小 $max_size = 1000000;