1
0
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:
Sergey Gelunenko 2016-09-28 15:18:05 +03:00
parent 058ef8b563
commit ada86677c9
2 changed files with 2 additions and 0 deletions

View File

@ -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 = "";

View File

@ -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 = "";