We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Application::usePaths()
1 parent 7f0b21d commit 454fe43Copy full SHA for 454fe43
src/Roots/Acorn/Application.php
@@ -10,7 +10,6 @@
10
use Illuminate\Foundation\ProviderRepository;
11
use Illuminate\Support\Collection;
12
use Illuminate\Support\ServiceProvider;
13
-use Illuminate\Support\Str;
14
use Roots\Acorn\Application\Concerns\Bootable;
15
use Roots\Acorn\Configuration\ApplicationBuilder;
16
use Roots\Acorn\Exceptions\SkipProviderException;
@@ -173,9 +172,7 @@ public function usePaths(array $paths)
173
172
throw new Exception("The {$pathType} path type is not supported.");
174
}
175
176
- $this->{$supportedPaths[$pathType]} = Str::startsWith($path, $this->absoluteCachePathPrefixes)
177
- ? $path
178
- : $this->basePath($path);
+ $this->{$supportedPaths[$pathType]} = $path;
179
180
181
$this->bindPathsInContainer();
0 commit comments