Explorar o código

Remove the seed for srand it is done automatically

FusionPBX %!s(int64=2) %!d(string=hai) anos
pai
achega
ef0278c5a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resources/classes/captcha.php

+ 1 - 1
resources/classes/captcha.php

@@ -87,7 +87,7 @@ class captcha {
 		//exit;
 		//exit;
 
 
 		// Randomize the fonts
 		// Randomize the fonts
-		srand(uuid());
+		srand();
 		$random = (rand()%count($fonts));
 		$random = (rand()%count($fonts));
 		//$font = $font_path.'/'.$fonts[$random];
 		//$font = $font_path.'/'.$fonts[$random];
 		$font = $fonts[$random];
 		$font = $fonts[$random];