From 98d5467124bd63eec773c93b49eee2b7e2e10400 Mon Sep 17 00:00:00 2001 From: canon4ever Date: Thu, 24 Mar 2016 00:05:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8D=EF=BC=8C=E4=BC=9A=E5=AF=BC=E8=87=B4=E6=97=A0=E6=89=A9?= =?UTF-8?q?=E5=B1=95=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复了该问题 --- examples/php/editormd.uploader.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/php/editormd.uploader.class.php b/examples/php/editormd.uploader.class.php index 1cebe8e..ed8624a 100644 --- a/examples/php/editormd.uploader.class.php +++ b/examples/php/editormd.uploader.class.php @@ -252,7 +252,7 @@ private function setSeveName() { - $this->saveName = $this->randomFileName(); + $this->saveName = $this->randomFileName().".".$this->fileExt; if($this->saveName == '') //如果没生成随机文件名,就保留原文件名 {