force id length to 5

This commit is contained in:
Beu 2020-03-04 09:58:08 +01:00
parent 2ec44d4a50
commit 062979a3cd
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
{ {
do do
{ {
$rnd_data = mt_rand(00000,99999); $rnd_data = mt_rand(10000,99999);
} while (file_exists(_DATA_DIR . "/" . $rnd_data)); } while (file_exists(_DATA_DIR . "/" . $rnd_data));
$filesize = 0 ; $filesize = 0 ;
@ -130,4 +130,4 @@
} }
} }
?> ?>