mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-06 03:02:34 +01:00
Minor fixes for setup process
This commit is contained in:
parent
c890fd5e65
commit
1ee17c3576
@ -1 +1 @@
|
|||||||
5.0.7
|
5.0.9
|
@ -19,6 +19,7 @@ use App\Models\Account;
|
|||||||
use App\Utils\SystemHealth;
|
use App\Utils\SystemHealth;
|
||||||
use Illuminate\Http\Response;
|
use Illuminate\Http\Response;
|
||||||
use Illuminate\Support\Facades\Artisan;
|
use Illuminate\Support\Facades\Artisan;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class SetupController.
|
* Class SetupController.
|
||||||
@ -34,6 +35,11 @@ class SetupController extends Controller
|
|||||||
{
|
{
|
||||||
$check = SystemHealth::check();
|
$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]);
|
return view('setup.index', ['check' => $check]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ return [
|
|||||||
'require_https' => env('REQUIRE_HTTPS', true),
|
'require_https' => env('REQUIRE_HTTPS', true),
|
||||||
'app_url' => env('APP_URL', ''),
|
'app_url' => env('APP_URL', ''),
|
||||||
'app_domain' => env('APP_DOMAIN', ''),
|
'app_domain' => env('APP_DOMAIN', ''),
|
||||||
'app_version' => '5.0.7',
|
'app_version' => '5.0.9',
|
||||||
'minimum_client_version' => '5.0.11',
|
'minimum_client_version' => '5.0.11',
|
||||||
'terms_version' => '1.0.1',
|
'terms_version' => '1.0.1',
|
||||||
'api_secret' => env('API_SECRET', ''),
|
'api_secret' => env('API_SECRET', ''),
|
||||||
|
Loading…
Reference in New Issue
Block a user