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(''));
|
||||
}
|
||||
|
||||
public function skip()
|
||||
{
|
||||
if(file_exists(base_path("INSTALLING"))){unlink(base_path("INSTALLING"));}
|
||||
|
||||
return redirect(url(''));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -20,11 +20,9 @@
|
|||
3. Create the admin user<br>
|
||||
4. Configure the app<br>
|
||||
</div></p>
|
||||
@if(!DB::table('users')->get()->isEmpty())
|
||||
<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
|
||||
<div class="row">
|
||||
 <a class="btn" href="{{url('?2')}}"><button>Next</button></a> 
|
||||
</div>
|
||||
|
||||
@endif
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ if(file_exists(base_path('INSTALLING'))){
|
|||
Route::post('/mysql', [InstallerController::class, 'mysql'])->name('mysql');
|
||||
Route::post('/options', [InstallerController::class, 'options'])->name('options');
|
||||
Route::get('/mysql-test', [InstallerController::class, 'mysqlTest'])->name('mysqlTest');
|
||||
Route::get('/skip', [InstallerController::class, 'skip'])->name('skip');
|
||||
|
||||
}else{
|
||||
|
||||
|
|
Loading…
Reference in New Issue