You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.1 KiB
22 lines
1.1 KiB
1 year ago
|
<?php
|
||
|
|
||
|
use Illuminate\Support\Facades\Route;
|
||
|
|
||
|
|
||
|
Route::get('/', 'InstallController@step0');
|
||
|
Route::get('/step1', 'InstallController@step1')->name('step1');
|
||
|
Route::get('/step2', 'InstallController@step2')->name('step2');
|
||
|
Route::get('/step3/{error?}', 'InstallController@step3')->name('step3')->middleware('installation-check');
|
||
|
Route::get('/step4', 'InstallController@step4')->name('step4')->middleware('installation-check');
|
||
|
Route::get('/step5', 'InstallController@step5')->name('step5')->middleware('installation-check');
|
||
|
|
||
|
Route::post('/database_installation', 'InstallController@database_installation')->name('install.db')->middleware('installation-check');
|
||
|
Route::get('import_sql', 'InstallController@import_sql')->name('import_sql')->middleware('installation-check');
|
||
|
Route::get('force-import-sql', 'InstallController@force_import_sql')->name('force-import-sql')->middleware('installation-check');
|
||
|
Route::post('system_settings', 'InstallController@system_settings')->name('system_settings');
|
||
|
Route::post('purchase_code', 'InstallController@purchase_code')->name('purchase.code');
|
||
|
|
||
|
Route::fallback(function () {
|
||
|
return redirect('/');
|
||
|
});
|