From: Andreas Gohr Date: Wed, 20 Jun 2007 07:05:41 +0000 (+0200) Subject: fixed cookie auth for new filesystem structure X-Git-Tag: 0.7.1~58 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0a466da55f79bf595cb2831a333ae7f8dd84d0ba;p=contagged fixed cookie auth for new filesystem structure darcs-hash:20070620070541-6e07b-23e37e61ecc0adb96e071157d1e1c369148a00b0.gz --- diff --git a/inc/functions.php b/inc/functions.php index 9166d31..fa341b5 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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))); }