rabin 7 anos atrás
pai
commit
d02156cc63
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Store/Local.php

+ 1 - 1
src/Store/Local.php

@@ -25,7 +25,7 @@ class Local extends Core implements Config
 			# 不覆盖 生成新文件
 			if (is_file($this->output['file']) && $this->config['cover'] == 3) {
 				// . microtime() . rand(0,1000)
-				$this->name($this->output['file'])->file();
+				$this->name($this->output['file'] . '_' . microtime() . '_' . rand(0,1000))->file();
 			} else {
 				$file = Dever::load('upload/file-name', array('where_name' => $this->name));
 			}