mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:34:04 +00:00
Fix composer dump autoload issue on fresh installation
This commit is contained in:
parent
0569bf5a34
commit
6aa3cd9c66
1 changed files with 3 additions and 3 deletions
|
|
@ -63,12 +63,12 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper
|
|||
$finalPrefix = str_replace(
|
||||
'%storage_path%',
|
||||
storage_path(),
|
||||
$this->app['config']["tenancy.filesystem.root_override.{$disk}"] ?? '',
|
||||
$this->app['config']["tenancy.filesystem.root_override.{$disk}"] ?? ''
|
||||
);
|
||||
|
||||
if (! $finalPrefix) {
|
||||
if (!$finalPrefix) {
|
||||
$finalPrefix = $originalRoot
|
||||
? rtrim($originalRoot, '/') . '/'. $suffix
|
||||
? rtrim($originalRoot, '/') . '/' . $suffix
|
||||
: $suffix;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue