Browse Source

fix bug

pull/16/head
xiaoz 6 years ago
parent
commit
5c7fc3ea28
  1. 2
      functions/class/class.admin.php

2
functions/class/class.admin.php

@ -272,7 +272,7 @@
} }
//生成文件名 //生成文件名
$filenme = $dir.date('Y-m-d H:i:s',time()).$suffix; $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; $full = $dir.'/'.$filenme;
//写入文件 //写入文件

Loading…
Cancel
Save