Skip to content
Snippets Groups Projects
Commit dfd3db4a authored by andi's avatar andi
Browse files

cookisalt file renamed

darcs-hash:20050203154250-9977f-297a70a547c3e7877e68bc6df15037d19bd916c3.gz
parent 2965ea2f
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,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/cookiesalt'
* cookies from $conf['datadir'].'/.cache/.htcookiesalt'
* if no such file is found a random key is created and
* and stored in this file.
*
......@@ -150,7 +150,7 @@ function auth_browseruid(){
*/
function auth_cookiesalt(){
global $conf;
$file = $conf['datadir'].'/.cache/cookiesalt';
$file = $conf['datadir'].'/.cache/.htcookiesalt';
$salt = io_readFile($file);
if(empty($salt)){
$salt = uniqid(rand(),true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment