Longer file names

This commit is contained in:
Tyler Blair 2012-02-09 00:46:21 -04:00
parent 8fe0980d21
commit ee84fbcc0f
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
/**