1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00

Revert backslash normalization

This commit is contained in:
Niklas Keller 2017-06-18 00:33:22 +02:00
parent 7d2c28dd37
commit 5e1651468b
2 changed files with 2 additions and 2 deletions

View File

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

View File

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