src build elFinder-2.1-5194c09

This commit is contained in:
nao-pon
2016-05-02 17:27:17 +09:00
parent ec7fcea23b
commit 350e95ad26
9 changed files with 29 additions and 15 deletions
+3 -3
View File
@@ -738,7 +738,7 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
* @author Dmitry Levashov
*/
protected function _setContent($path, $fp) {
rewind($fp);
elFinder::rewind($fp);
$fstat = fstat($fp);
$size = $fstat['size'];
@@ -764,7 +764,7 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
$h = !empty($stat['height']) ? $stat['height'] : 0;
$id = $this->_joinPath($dir, $name);
rewind($fp);
elFinder::rewind($fp);
$stat = fstat($fp);
$size = $stat['size'];
@@ -794,7 +794,7 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
$content = '';
rewind($fp);
elFinder::rewind($fp);
while (!feof($fp)) {
$content .= fread($fp, 8192);
}