mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
FTP driver open file/download
This commit is contained in:
@@ -303,7 +303,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _subdirs($path) {
|
||||
echo "_subdirs $path<br>";
|
||||
|
||||
if (($dir = dir($path))) {
|
||||
$dir = dir($path);
|
||||
while (($entry = $dir->read()) !== false) {
|
||||
@@ -394,7 +394,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _fopen($path, $mode='rb') {
|
||||
return @fopen($path, $mode);
|
||||
return @fopen($path, 'r');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user