From 5c7fc3ea286410a997272ad33ba2b73c6a76fa14 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Sat, 11 Aug 2018 21:47:51 +0800 Subject: [PATCH] fix bug --- functions/class/class.admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/class/class.admin.php b/functions/class/class.admin.php index c2d68fa..0ca211a 100644 --- a/functions/class/class.admin.php +++ b/functions/class/class.admin.php @@ -272,7 +272,7 @@ } //生成文件名 $filenme = $dir.date('Y-m-d H:i:s',time()).$suffix; - $filenme = substr(md5($filenme), 8, 16).'.'.$suffix; + $filenme = substr(md5($url.$filenme), 8, 16).'.'.$suffix; $full = $dir.'/'.$filenme; //写入文件