mirror of
https://github.com/danog/file.git
synced 2024-11-26 20:04:51 +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;
|
$priority = \EIO_PRI_DEFAULT;
|
||||||
|
|
||||||
if ($recursive) {
|
if ($recursive) {
|
||||||
|
$path = str_replace("/", DIRECTORY_SEPARATOR, $path);
|
||||||
$arrayPath = array_filter(explode(DIRECTORY_SEPARATOR, $path));
|
$arrayPath = array_filter(explode(DIRECTORY_SEPARATOR, $path));
|
||||||
$tmpPath = "";
|
$tmpPath = "";
|
||||||
|
|
||||||
|
@ -305,6 +305,7 @@ class UvDriver implements Driver {
|
|||||||
$promisor = new Deferred;
|
$promisor = new Deferred;
|
||||||
|
|
||||||
if ($recursive) {
|
if ($recursive) {
|
||||||
|
$path = str_replace("/", DIRECTORY_SEPARATOR, $path);
|
||||||
$arrayPath = array_filter(explode(DIRECTORY_SEPARATOR, $path));
|
$arrayPath = array_filter(explode(DIRECTORY_SEPARATOR, $path));
|
||||||
$tmpPath = "";
|
$tmpPath = "";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user