Revert "Added skip option to installer"
This reverts commit bc900d0d29
.
This commit is contained in:
parent
bc900d0d29
commit
4adf239c8e
|
@ -140,11 +140,4 @@ class InstallerController extends Controller
|
||||||
return redirect(url(''));
|
return redirect(url(''));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function skip()
|
|
||||||
{
|
|
||||||
if(file_exists(base_path("INSTALLING"))){unlink(base_path("INSTALLING"));}
|
|
||||||
|
|
||||||
return redirect(url(''));
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,12 +19,10 @@
|
||||||
2. Setup the database<br>
|
2. Setup the database<br>
|
||||||
3. Create the admin user<br>
|
3. Create the admin user<br>
|
||||||
4. Configure the app<br>
|
4. Configure the app<br>
|
||||||
</div></p>
|
</div></p>
|
||||||
@if(!DB::table('users')->get()->isEmpty())
|
<div class="row">
|
||||||
<span>An existing installation has been detected.<br>You may skip the installation process.</span>
|
|
||||||
 <a style="margin-bottom:-20px;" class="btn" href="{{url('skip')}}"><button>Skip</button></a> 
|
|
||||||
@endif
|
|
||||||
 <a class="btn" href="{{url('?2')}}"><button>Next</button></a> 
|
 <a class="btn" href="{{url('?2')}}"><button>Next</button></a> 
|
||||||
|
</div>
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ if(file_exists(base_path('INSTALLING'))){
|
||||||
Route::post('/mysql', [InstallerController::class, 'mysql'])->name('mysql');
|
Route::post('/mysql', [InstallerController::class, 'mysql'])->name('mysql');
|
||||||
Route::post('/options', [InstallerController::class, 'options'])->name('options');
|
Route::post('/options', [InstallerController::class, 'options'])->name('options');
|
||||||
Route::get('/mysql-test', [InstallerController::class, 'mysqlTest'])->name('mysqlTest');
|
Route::get('/mysql-test', [InstallerController::class, 'mysqlTest'])->name('mysqlTest');
|
||||||
Route::get('/skip', [InstallerController::class, 'skip'])->name('skip');
|
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue