From 5e1651468bf9007469f5b0e2bfbe3e11b32a3272 Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Sun, 18 Jun 2017 00:33:22 +0200 Subject: [PATCH] Revert backslash normalization --- lib/EioDriver.php | 2 +- lib/UvDriver.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = "";