mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update ManageHostingSubscriptionFileManager.php
This commit is contained in:
parent
7596e2e56c
commit
33b2b07e8d
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class ManageHostingSubscriptionFileManager extends ViewRecord implements HasTabl
|
|||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
$hostingSubscription = HostingSubscription::select(['id'])->where('id', 16)->first();
|
||||
$hostingSubscription = HostingSubscription::select(['id'])->first();
|
||||
$findDomain = Domain::select(['home_root', 'hosting_subscription_id', 'is_main'])->where('hosting_subscription_id', $hostingSubscription->id)->where('is_main',1)->first();
|
||||
$this->disk = $findDomain->home_root;
|
||||
|
||||
|
|
Loading…
Reference in a new issue