1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 05:30:38 +02:00

Fix Paths test failing on Windows (#2187)

* Fix directory separator for windows os

* Change Paths to use a forward slash instead
This commit is contained in:
Sami Mazouz
2020-05-28 18:42:54 +02:00
committed by GitHub
parent 3c87f800dd
commit bab084a75f

View File

@@ -34,7 +34,7 @@ class Paths
}, $paths);
// Assume a standard Composer directory structure unless specified
$this->paths['vendor'] = $this->vendor ?? $this->base.DIRECTORY_SEPARATOR.'vendor';
$this->paths['vendor'] = $this->vendor ?? $this->base.'/vendor';
}
public function __get($name): ?string