From ee84fbcc0f69f5df564c53f6802401908e86ec81 Mon Sep 17 00:00:00 2001 From: Tyler Blair Date: Thu, 9 Feb 2012 00:46:21 -0400 Subject: [PATCH] Longer file names --- web/func.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/func.php b/web/func.php index 20a49ee..c935c81 100644 --- a/web/func.php +++ b/web/func.php @@ -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)); } /**