summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-02-03 16:42:50 +0100
committerandi <andi@splitbrain.org>2005-02-03 16:42:50 +0100
commitdfd3db4a6baedc8ab9f22ed6bf413d5577bf7664 (patch)
tree87460d29fc43b1b88fb724064c8287a9c943ffb8 /inc/auth.php
parent2965ea2f88fd50ea6635f0c73199443c3aaa5c11 (diff)
downloadrpg-dfd3db4a6baedc8ab9f22ed6bf413d5577bf7664.tar.gz
rpg-dfd3db4a6baedc8ab9f22ed6bf413d5577bf7664.tar.bz2
cookisalt file renamed
darcs-hash:20050203154250-9977f-297a70a547c3e7877e68bc6df15037d19bd916c3.gz
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 0b4ed8113..0266899a8 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -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);