1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Minor fixes for setup process

This commit is contained in:
David Bomba 2020-06-28 21:52:45 +10:00
parent c890fd5e65
commit 1ee17c3576
3 changed files with 8 additions and 2 deletions

View File

@ -1 +1 @@
5.0.7
5.0.9

View File

@ -19,6 +19,7 @@ use App\Models\Account;
use App\Utils\SystemHealth;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schema;
/**
* Class SetupController.
@ -34,6 +35,11 @@ class SetupController extends Controller
{
$check = SystemHealth::check();
if($check['system_health'] == "true" && Schema::hasTable('accounts') && $account = Account::all()->first())
return redirect('/');
$check = SystemHealth::check();
return view('setup.index', ['check' => $check]);
}

View File

@ -12,7 +12,7 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => env('APP_URL', ''),
'app_domain' => env('APP_DOMAIN', ''),
'app_version' => '5.0.7',
'app_version' => '5.0.9',
'minimum_client_version' => '5.0.11',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', ''),