Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

pterodactyl/panel

8314 stars
2 code files
View pterodactyl/panel on GitHub

app/Models/Server.php

Open in GitHub
class Server extends Model
{
//
public function mounts()
{
return $this->hasManyThrough(Mount::class, MountServer::class, 'server_id', 'id', 'id', 'mount_id');
}
}

app/Models/Location.php

Open in GitHub
class Location extends Model
{
//
public function servers()
{
return $this->hasManyThrough(Server::class, Node::class);
}
}

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.