mirror of
https://github.com/danog/file.git
synced 2024-11-26 11:54:54 +01:00
replace slashes to DS
This commit is contained in:
parent
058ef8b563
commit
ada86677c9
@ -362,6 +362,7 @@ class EioDriver implements Driver {
|
||||
$priority = \EIO_PRI_DEFAULT;
|
||||
|
||||
if ($recursive) {
|
||||
$path = str_replace("/", DIRECTORY_SEPARATOR, $path);
|
||||
$arrayPath = array_filter(explode(DIRECTORY_SEPARATOR, $path));
|
||||
$tmpPath = "";
|
||||
|
||||
|
@ -305,6 +305,7 @@ class UvDriver implements Driver {
|
||||
$promisor = new Deferred;
|
||||
|
||||
if ($recursive) {
|
||||
$path = str_replace("/", DIRECTORY_SEPARATOR, $path);
|
||||
$arrayPath = array_filter(explode(DIRECTORY_SEPARATOR, $path));
|
||||
$tmpPath = "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user