Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.0
-
Fix Version/s: 1.5.3
-
Component/s: Zend_Loader
-
Labels:None
-
Fix Version Priority:Must Have
Description
public static function isReadable($filename) { if (!$fh = @fopen($filename, 'r', true)) { return false; } return true; }
should be changed to
public static function isReadable($filename) { if (!$fh = @fopen($filename, 'r', true)) { return false; } fclose($fh); return true; }
to stop open file handles building up with each invocation of the function
Issue Links
| This issue depends on: | ||||
| ZF-2985 | Bug in Zend_Loader::isReadable if file does not exist |
|
|
|
Please categorize/fix as needed.