From 062979a3cdf1415e5aa548da1f9951bdb7506cb9 Mon Sep 17 00:00:00 2001 From: Beu Date: Wed, 4 Mar 2020 09:58:08 +0100 Subject: [PATCH] force id length to 5 --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 597884b..91fea8e 100644 --- a/index.php +++ b/index.php @@ -46,7 +46,7 @@ { do { - $rnd_data = mt_rand(00000,99999); + $rnd_data = mt_rand(10000,99999); } while (file_exists(_DATA_DIR . "/" . $rnd_data)); $filesize = 0 ; @@ -130,4 +130,4 @@ } } -?> \ No newline at end of file +?>