keep native functions inside the nlistr method

This commit is contained in:
ghost 2023-07-30 22:00:18 +03:00
parent 000b9ad8dd
commit 1dbb9f0366

View File

@ -93,7 +93,7 @@ class Ftp {
$result = [];
foreach ($this->nlist($path) as $line) {
foreach (ftp_nlist($this->_connection, $path) as $line) {
if (ftp_size($this->_connection, $line) == -1) {