src build elFinder-2.1-9a7a724

This commit is contained in:
nao-pon
2016-08-04 21:59:03 +09:00
parent 7cd4ca0ecd
commit db7c3d069a
5 changed files with 16 additions and 13 deletions
+1 -1
View File
@@ -759,7 +759,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
* @author Dmitry (dio) Levashov
*/
protected function _fclose($fp, $path='') {
return fclose($fp);
return (is_resource($fp) && fclose($fp));
}
/******************** file/dir manipulations *************************/