From eee55d607b9bbd3676870255e025e4af57b28697 Mon Sep 17 00:00:00 2001 From: fixclean Date: Tue, 28 Jul 2026 08:20:08 +0200 Subject: [PATCH] deprecated --- secret.php.example | 1 + string.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/secret.php.example b/secret.php.example index 0052050..31a31a8 100644 --- a/secret.php.example +++ b/secret.php.example @@ -11,6 +11,7 @@ $_m['pre'] = ''; $_m['salt'] = ''; $_sendermail = 'noreply@.de'; +$_contactmail = ''; $_smtp['srv'] = 'mail.seemsleg.it'; $_smtp['user'] = 'noreply@.de'; $_smtp['pw'] = ''; diff --git a/string.php b/string.php index fc62864..c3952bb 100644 --- a/string.php +++ b/string.php @@ -38,7 +38,7 @@ function random(int $name_laenge): string { $zeichen = "abcedfghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRTSUVWXYZ0123456789"; $name_neu = ""; - @mt_srand ( ( double ) microtime () * 1000000 ); + @mt_srand ( ( float ) microtime () * 1000000 ); for($i = 0; $i < $name_laenge; $i ++) { $r = mt_rand ( 0, strlen ( $zeichen ) - 1 ); $name_neu .= $zeichen[$r];