mirror of
https://github.com/flarum/core.git
synced 2025-07-29 04:30:56 +02:00
Introduce a vendor path
This lets us or anyone modify the path from where dependencies (usually installed into /vendor by Composer) are loaded. We need to be able to tweak this in our integration tests, where the application code under test needs access to certain dependencies.
This commit is contained in:
@@ -30,7 +30,7 @@ class FrontendServiceProvider extends AbstractServiceProvider
|
||||
);
|
||||
|
||||
$assets->setLessImportDirs([
|
||||
$this->app->basePath().'/vendor/components/font-awesome/less' => ''
|
||||
$this->app->vendorPath().'/components/font-awesome/less' => ''
|
||||
]);
|
||||
|
||||
$assets->css([$this, 'addBaseCss']);
|
||||
|
Reference in New Issue
Block a user