mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-02-03 10:25:52 +00:00
keep native functions inside the nlistr method
This commit is contained in:
parent
000b9ad8dd
commit
1dbb9f0366
@ -93,7 +93,7 @@ class Ftp {
|
|||||||
|
|
||||||
$result = [];
|
$result = [];
|
||||||
|
|
||||||
foreach ($this->nlist($path) as $line) {
|
foreach (ftp_nlist($this->_connection, $path) as $line) {
|
||||||
|
|
||||||
if (ftp_size($this->_connection, $line) == -1) {
|
if (ftp_size($this->_connection, $line) == -1) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user