From ef1e335ef9c097afcca0d4c9005620d100e302ed Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 19 Nov 2002 16:36:45 +0000 Subject: Close correct filehandle. --- auth/get_uid_and_mysql_pw.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth') 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); ?> -- cgit v1.2.3