mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 04:24:03 +00:00
Remove asset()
This commit is contained in:
parent
b786643094
commit
25bc3f81b3
1 changed files with 2 additions and 6 deletions
|
|
@ -40,8 +40,7 @@ trait BootstrapsTenancy
|
||||||
{
|
{
|
||||||
$old = [
|
$old = [
|
||||||
"storage_disks" => [],
|
"storage_disks" => [],
|
||||||
"storage_path" => $this->app->storagePath,
|
"storage_path" => $this->app->storagePath(),
|
||||||
"asset" => asset(''),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
$suffix = $this->app['config']['tenancy.filesystem.suffix_base'] . tenant('uuid');
|
$suffix = $this->app['config']['tenancy.filesystem.suffix_base'] . tenant('uuid');
|
||||||
|
|
@ -60,9 +59,6 @@ trait BootstrapsTenancy
|
||||||
// storage_path()
|
// storage_path()
|
||||||
$this->app->useStoragePath($this->app->storagePath() . "/{$suffix}");
|
$this->app->useStoragePath($this->app->storagePath() . "/{$suffix}");
|
||||||
|
|
||||||
// asset()
|
|
||||||
$this->app('url')->forceRootUrl(asset('') . "/{$suffix}");
|
|
||||||
|
|
||||||
$this->oldStoragePaths = $old;
|
$this->oldStoragePaths = $old;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue