mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-13 18:40:55 +01:00
Update finishing.blade.php
This commit is contained in:
parent
9c2a91e0fc
commit
01e61cc0bf
@ -28,12 +28,6 @@
|
|||||||
if(EnvEditor::keyExists('FORCE_ROUTE_HTTPS')){ /* Do nothing if key already exists */
|
if(EnvEditor::keyExists('FORCE_ROUTE_HTTPS')){ /* Do nothing if key already exists */
|
||||||
} else {EnvEditor::addKey('FORCE_ROUTE_HTTPS', 'false');}
|
} else {EnvEditor::addKey('FORCE_ROUTE_HTTPS', 'false');}
|
||||||
|
|
||||||
|
|
||||||
// Adds database entries
|
|
||||||
Schema::disableForeignKeyConstraints();
|
|
||||||
Artisan::call('migrate');
|
|
||||||
Schema::enableForeignKeyConstraints();
|
|
||||||
|
|
||||||
if (!config()->has('advanced-config.expand_panel_admin_menu_permanently') and !config()->has('disable_default_password_notice')) {
|
if (!config()->has('advanced-config.expand_panel_admin_menu_permanently') and !config()->has('disable_default_password_notice')) {
|
||||||
|
|
||||||
function getStringBetween($string, $start, $end) {
|
function getStringBetween($string, $start, $end) {
|
||||||
@ -86,6 +80,10 @@
|
|||||||
DB::table('buttons')->delete();
|
DB::table('buttons')->delete();
|
||||||
DB::table('buttons')->truncate();
|
DB::table('buttons')->truncate();
|
||||||
try {Artisan::call('db:seed --class="ButtonSeeder" --force');} catch (exception $e) {}
|
try {Artisan::call('db:seed --class="ButtonSeeder" --force');} catch (exception $e) {}
|
||||||
|
|
||||||
|
DB::table('link_types')->delete();
|
||||||
|
DB::table('link_types')->truncate();
|
||||||
|
try {Artisan::call('migrate');} catch (exception $e) {}
|
||||||
Schema::enableForeignKeyConstraints();
|
Schema::enableForeignKeyConstraints();
|
||||||
|
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "?success\" />";
|
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "?success\" />";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user