Revert "Added skip option to installer"

This reverts commit bc900d0d29.
This commit is contained in:
Julian Prieber 2022-12-02 16:06:07 +01:00
parent bc900d0d29
commit 4adf239c8e
3 changed files with 3 additions and 13 deletions

View File

@ -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(''));
}
}

View File

@ -19,12 +19,10 @@
2. Setup the database<br>
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>
&ensp;<a style="margin-bottom:-20px;" class="btn" href="{{url('skip')}}"><button>Skip</button></a>&ensp;
@endif
</div></p>
<div class="row">
&ensp;<a class="btn" href="{{url('?2')}}"><button>Next</button></a>&ensp;
</div>
@endif

View File

@ -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{