]> git.sur5r.net Git - contagged/commitdiff
fixed cookie auth for new filesystem structure
authorAndreas Gohr <gohr@cosmocode.de>
Wed, 20 Jun 2007 07:05:41 +0000 (09:05 +0200)
committerAndreas Gohr <gohr@cosmocode.de>
Wed, 20 Jun 2007 07:05:41 +0000 (09:05 +0200)
darcs-hash:20070620070541-6e07b-23e37e61ecc0adb96e071157d1e1c369148a00b0.gz

inc/functions.php

index 9166d31ca0c5e9f77ead7d923a32e21ce2ae7029..fa341b59d8cb53b1f52194640dab9c6c9d7fc29e 100644 (file)
@@ -153,7 +153,7 @@ function set_session($user,$pass,$dn){
  * cookies; the string is stored inside the cache dir
  */
 function get_cookie_secret(){
-  $file = dirname(__FILE__).'/cache/.htcookiesecret.php';
+  $file = dirname(__FILE__).'/../cache/.htcookiesecret.php';
   if(@file_exists($file)){
     return md5(trim(file($file)));
   }