diff --git a/lib/EioDriver.php b/lib/EioDriver.php index 875c9a9..133cbac 100644 --- a/lib/EioDriver.php +++ b/lib/EioDriver.php @@ -393,7 +393,7 @@ class EioDriver implements Driver { $priority = \EIO_PRI_DEFAULT; if ($recursive) { - $path = str_replace(["/", "\\"], DIRECTORY_SEPARATOR, $path); + $path = str_replace("/", DIRECTORY_SEPARATOR, $path); $arrayPath = explode(DIRECTORY_SEPARATOR, $path); $tmpPath = ""; diff --git a/lib/UvDriver.php b/lib/UvDriver.php index edbfc37..f8d838e 100644 --- a/lib/UvDriver.php +++ b/lib/UvDriver.php @@ -351,7 +351,7 @@ class UvDriver implements Driver { $deferred = new Deferred; if ($recursive) { - $path = str_replace(["/", "\\"], DIRECTORY_SEPARATOR, $path); + $path = str_replace("/", DIRECTORY_SEPARATOR, $path); $arrayPath = explode(DIRECTORY_SEPARATOR, $path); $tmpPath = "";