diff options
Diffstat (limited to 'inc/auth.php')
-rw-r--r-- | inc/auth.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/auth.php b/inc/auth.php index fdf5d17f3..da3d770d1 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -148,7 +148,7 @@ function auth_browseruid(){ * Creates a random key to encrypt the password in cookies * * This function tries to read the password for encrypting - * cookies from $conf['datadir'].'/_cache/_htcookiesalt' + * cookies from $conf['metadir'].'/_htcookiesalt' * if no such file is found a random key is created and * and stored in this file. * @@ -158,7 +158,7 @@ function auth_browseruid(){ */ function auth_cookiesalt(){ global $conf; - $file = $conf['datadir'].'/_cache/_htcookiesalt'; + $file = $conf['metadir'].'/_htcookiesalt'; $salt = io_readFile($file); if(empty($salt)){ $salt = uniqid(rand(),true); |