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; //写入文件