Fix redirecting to setup wizard
This commit is contained in:
parent
0b1ed82cf7
commit
6c7076b39e
|
|
@ -84,11 +84,13 @@ class RuntimeCheckServiceProvider extends ServiceProvider
|
|||
{
|
||||
// Redirect to setup wizard
|
||||
if (! SetupController::checkTablesExist()) {
|
||||
return redirect('/setup')->send();
|
||||
redirect('/setup')->send();
|
||||
exit;
|
||||
}
|
||||
|
||||
if (Comparator::greaterThan(config('app.version'), option('version'))) {
|
||||
return redirect('/setup/update')->send();
|
||||
redirect('/setup/update')->send();
|
||||
exit;
|
||||
}
|
||||
|
||||
if (! SetupController::checkNewColumnsExist()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user