diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-11-19 16:36:45 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-11-19 16:36:45 +0000 |
commit | ef1e335ef9c097afcca0d4c9005620d100e302ed (patch) | |
tree | e800910a9bd7d0762dd72a9dfe9146e914c642b4 /auth/get_uid_and_mysql_pw.php | |
parent | f58b22a17efaceeb79bd3142071bfbba6937a700 (diff) |
Close correct filehandle.
Diffstat (limited to 'auth/get_uid_and_mysql_pw.php')
-rw-r--r-- | auth/get_uid_and_mysql_pw.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/get_uid_and_mysql_pw.php b/auth/get_uid_and_mysql_pw.php index fc46f23..fcb62ed 100644 --- a/auth/get_uid_and_mysql_pw.php +++ b/auth/get_uid_and_mysql_pw.php @@ -3,5 +3,5 @@ $PHP_AUTH_USER = isset($PHP_AUTH_USER) ? $PHP_AUTH_USER : ''; $PHP_AUTH_FILE = "/home/$PHP_AUTH_USER/webdata/php_passwd"; $fh = fopen($PHP_AUTH_FILE, 'r'); $PHP_AUTH_PASS = fread($fh, filesize($PHP_AUTH_FILE)); -fclose($PHP_AUTH_FILE); +fclose($fh); ?> |