diff options
Diffstat (limited to 'includes/sys_auth.php')
-rw-r--r-- | includes/sys_auth.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/sys_auth.php b/includes/sys_auth.php index 734afd57..a478226c 100644 --- a/includes/sys_auth.php +++ b/includes/sys_auth.php @@ -37,8 +37,8 @@ function load_auth() */ function generate_salt($length = 16) { - $alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - $salt = ""; + $alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + $salt = ''; for ($i = 0; $i < $length; $i++) { $salt .= $alphabet[rand(0, strlen($alphabet) - 1)]; } |