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