This commit is contained in:
2020-08-31 12:38:32 +08:00
parent 683a39dded
commit 65c443ec87
126 changed files with 7369 additions and 228 deletions
+2 -2
View File
@@ -4,10 +4,10 @@
namespace HttpServer\Http;
use Exception;
use Snowflake\Snowflake;
/**
* Class File
* @package BeReborn\Http
*/
class File
{
@@ -57,7 +57,7 @@ class File
return $this->newName;
}
$param = ['tmp_name' => $this->getTmpPath()];
$this->newName = \BeReborn::rename($param);
$this->newName = Snowflake::rename($param);
return $this->newName;
}