mirror of
https://github.com/moparisthebest/puush-api
synced 2025-02-16 07:00:11 -05:00
Longer file names
This commit is contained in:
parent
8fe0980d21
commit
ee84fbcc0f
@ -25,7 +25,7 @@ function random_filename()
|
||||
$random_string = md5(uniqid(rand(), true));
|
||||
|
||||
// chop it down to random length
|
||||
return substr($random_string, 0, rand(2, 4));
|
||||
return substr($random_string, 0, rand(4, 8));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user