diff options
author | Andreas Gohr <andi@splitbrain.org> | 2005-07-29 17:54:57 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2005-07-29 17:54:57 +0200 |
commit | e7cb32dcb57d3ae03544db66367d6aaa02f7ddf8 (patch) | |
tree | 7d7f82cc8049656bc859ebfc2961d9a2fd2f9918 /inc/auth/plain.php | |
parent | 9f830448ee35b709be3c303585a230dfbf8582b3 (diff) | |
download | rpg-e7cb32dcb57d3ae03544db66367d6aaa02f7ddf8.tar.gz rpg-e7cb32dcb57d3ae03544db66367d6aaa02f7ddf8.tar.bz2 |
DOKU_CONF define for config directory #479
darcs-hash:20050729155457-7ad00-94554865259e4cbd6a1c75bb62a93f37304adbf0.gz
Diffstat (limited to 'inc/auth/plain.php')
-rw-r--r-- | inc/auth/plain.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/auth/plain.php b/inc/auth/plain.php index 039fb422d..6178f1260 100644 --- a/inc/auth/plain.php +++ b/inc/auth/plain.php @@ -73,7 +73,7 @@ function auth_createUser($user,$pass,$name,$mail){ $mail, $conf['defaultgroup'])); $userline .= "\n"; - $fh = fopen(DOKU_INC.'conf/users.auth.php','a'); + $fh = fopen(DOKU_CONF.'users.auth.php','a'); if($fh){ fwrite($fh,$userline); fclose($fh); @@ -93,10 +93,10 @@ function auth_createUser($user,$pass,$name,$mail){ */ function auth_plain_loadUserData(){ $data = array(); - if(!@file_exists(DOKU_INC.'conf/users.auth.php')){ + if(!@file_exists(DOKU_CONF.'users.auth.php')){ return $data; } - $lines = file(DOKU_INC.'conf/users.auth.php'); + $lines = file(DOKU_CONF.'users.auth.php'); foreach($lines as $line){ $line = preg_replace('/#.*$/','',$line); //ignore comments $line = trim($line); |