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:
parent
7d2c28dd37
commit
5e1651468b
@ -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 = "";
|
||||
|
||||
|
@ -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 = "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user