改名
This commit is contained in:
@@ -64,9 +64,7 @@ class File
|
|||||||
throw new Exception('(' . $this->name . ')Failed to open stream: No such file or directory');
|
throw new Exception('(' . $this->name . ')Failed to open stream: No such file or directory');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->newName = md5($this->getContent());
|
||||||
var_dump($this->getContent());
|
|
||||||
|
|
||||||
|
|
||||||
// $this->newName = Snowflake::rename($this->getTmpPath());
|
// $this->newName = Snowflake::rename($this->getTmpPath());
|
||||||
return $this->newName;
|
return $this->newName;
|
||||||
|
|||||||
Reference in New Issue
Block a user