1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 11:54:54 +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; $priority = \EIO_PRI_DEFAULT;
if ($recursive) { if ($recursive) {
$path = str_replace(["/", "\\"], DIRECTORY_SEPARATOR, $path); $path = str_replace("/", DIRECTORY_SEPARATOR, $path);
$arrayPath = explode(DIRECTORY_SEPARATOR, $path); $arrayPath = explode(DIRECTORY_SEPARATOR, $path);
$tmpPath = ""; $tmpPath = "";

View File

@ -351,7 +351,7 @@ class UvDriver implements Driver {
$deferred = new Deferred; $deferred = new Deferred;
if ($recursive) { if ($recursive) {
$path = str_replace(["/", "\\"], DIRECTORY_SEPARATOR, $path); $path = str_replace("/", DIRECTORY_SEPARATOR, $path);
$arrayPath = explode(DIRECTORY_SEPARATOR, $path); $arrayPath = explode(DIRECTORY_SEPARATOR, $path);
$tmpPath = ""; $tmpPath = "";