diff --git a/dashboard/pgs/functions.php b/dashboard/pgs/functions.php index 74be9ee..32150b3 100755 --- a/dashboard/pgs/functions.php +++ b/dashboard/pgs/functions.php @@ -52,7 +52,6 @@ function FormatSeconds($seconds) { function CreateCode ($laenge) { $zeichen = "1234567890abcdefghijklmnopqrstuvwyxzABCDEFGHIJKLMNAOPQRSTUVWYXZ"; - mt_srand( (double) microtime() * 1000000); $out = ""; for ($i=1;$i<=$laenge;$i++){ $out .= $zeichen[mt_rand(0,(strlen($zeichen)-1))]; @@ -153,4 +152,4 @@ function kbytes_to_string($kb) { } -?> \ No newline at end of file +?> diff --git a/dashboard2/pgs/functions.php b/dashboard2/pgs/functions.php index be10a94..a90af8c 100644 --- a/dashboard2/pgs/functions.php +++ b/dashboard2/pgs/functions.php @@ -52,7 +52,6 @@ function FormatSeconds($seconds) { function CreateCode ($laenge) { $zeichen = "1234567890abcdefghijklmnopqrstuvwyxzABCDEFGHIJKLMNAOPQRSTUVWYXZ"; - mt_srand( (double) microtime() * 1000000); $out = ""; for ($i=1;$i<=$laenge;$i++){ $out .= $zeichen[mt_rand(0,(strlen($zeichen)-1))]; @@ -60,4 +59,4 @@ function CreateCode ($laenge) { return $out; } -?> \ No newline at end of file +?>