From d4e1bc6cc0fc70bc81b52bbe4233f3107fba1095 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Thu, 16 Feb 2017 15:01:26 -0500 Subject: [PATCH] Discord link via CDN now. --- app/Services/VersionService.php | 6 ++++++ resources/views/admin/index.blade.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Services/VersionService.php b/app/Services/VersionService.php index d12c77760..dea0bb16d 100644 --- a/app/Services/VersionService.php +++ b/app/Services/VersionService.php @@ -52,6 +52,7 @@ class VersionService return (object) [ 'panel' => 'error', 'daemon' => 'error', + 'discord' => 'https://pterodactyl.io', ]; } }); @@ -67,6 +68,11 @@ class VersionService return self::$versions->daemon; } + public static function getDiscord() + { + return self::$versions->discord; + } + public function getCurrentPanel() { return config('app.version'); diff --git a/resources/views/admin/index.blade.php b/resources/views/admin/index.blade.php index b0758f27c..aa0915a84 100644 --- a/resources/views/admin/index.blade.php +++ b/resources/views/admin/index.blade.php @@ -41,7 +41,7 @@