cvs: pear /File_HtAccess HtAccess.php
| From: | Mika Tuupola | Date: | Wed, 19 Feb 2003 14:50:15 +0000 |
| Subject: | cvs: pear /File_HtAccess HtAccess.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8955@lists.php.net to get a copy of this message | ||
tuupola Wed Feb 19 09:50:15 2003 EDT
Modified files:
/pear/File_HtAccess HtAccess.php
Log:
* properly call fclose()
Index: pear/File_HtAccess/HtAccess.php
diff -u pear/File_HtAccess/HtAccess.php:1.10 pear/File_HtAccess/HtAccess.php:1.11
--- pear/File_HtAccess/HtAccess.php:1.10 Fri Feb 14 11:05:49 2003
+++ pear/File_HtAccess/HtAccess.php Wed Feb 19 09:50:15 2003
@@ -16,7 +16,7 @@
// | Author: Mika Tuupola <tuupola@appelsiini.net> |
// +----------------------------------------------------------------------+
//
-// $Id: HtAccess.php,v 1.10 2003/02/14 16:05:49 tuupola Exp $
+// $Id: HtAccess.php,v 1.11 2003/02/19 14:50:15 tuupola Exp $
//
require_once 'PEAR.php' ;
@@ -131,6 +131,8 @@
}
}
}
+ fclose($fd);
+
} else {
$retval = PEAR::raiseError('Could not open ' . $this->getFile() .
' for reading.');