mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Add version checking to daemon and panel
Also includes some buttons for users to get help from the panel.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
namespace Pterodactyl\Console\Commands;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
use Version;
|
||||
|
||||
class ShowVersion extends Command
|
||||
{
|
||||
@@ -58,6 +59,6 @@ class ShowVersion extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$this->info('You are running Pterodactyl Panel ' . config('app.version'));
|
||||
$this->info('You are running Pterodactyl Panel v' . Version::getCurrentPanel() . ' (' . ((Version::isLatestPanel()) ? 'Up to Date' : 'Latest: ' . Version::getDaemon()) . ')');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user