mirror of
https://github.com/flarum/framework.git
synced 2025-03-04 03:29:54 +08: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:
parent
3c87f800dd
commit
bab084a75f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user