1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 18:42:31 +01:00

Correcting BungeeCord issue (#152)

* Correcting BungeeCord issue
This commit is contained in:
Michael Parker 2016-10-23 18:34:59 -04:00 committed by Dane Everitt
parent 6b011fcd36
commit 8c1fe3056f
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,30 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class UpdateMisnamedBungee extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::table('service_variables')->select('env_variable')->where('env_variable', 'BUNGE_VERSION')->update([
'env_variable' => 'BUNGEE_VERSION'
]);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
return;
}
}

View File

@ -215,7 +215,7 @@ class MinecraftServiceTableSeeder extends Seeder
'option_id' => $this->option['bungeecord']->id,
'name' => 'Bungeecord Version',
'description' => 'The version of Bungeecord to download and use.',
'env_variable' => 'BUNGE_VERSION',
'env_variable' => 'BUNGEE_VERSION',
'default_value' => 'latest',
'user_viewable' => 1,
'user_editable' => 1,