mirror of
https://github.com/flarum/framework.git
synced 2025-02-17 02:02:47 +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
063df058b6
commit
004d80b860
|
@ -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…
Reference in New Issue
Block a user