From 6262ee9f46d3d639b87fce072019f7ff417f0aef Mon Sep 17 00:00:00 2001 From: Glenn Hermans Date: Tue, 5 Jan 2021 02:27:37 +0100 Subject: [PATCH] fix #4417 --- public/installer/AdminConfig.php | 8 +++++--- public/installer/MigrationRun.php | 4 ++-- public/installer/Seeder.php | 8 ++++---- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/public/installer/AdminConfig.php b/public/installer/AdminConfig.php index 48c377488..daebea11e 100755 --- a/public/installer/AdminConfig.php +++ b/public/installer/AdminConfig.php @@ -1,10 +1,12 @@ &1'); + $storage_output = exec('cd ../.. && '. $phpbin .' artisan storage:link 2>&1'); // if there are no errors process our form, then return a message // show a message of success and provide a true success variable diff --git a/public/installer/MigrationRun.php b/public/installer/MigrationRun.php index 8ac63187f..1181ae0a9 100755 --- a/public/installer/MigrationRun.php +++ b/public/installer/MigrationRun.php @@ -1,13 +1,13 @@ &1'; -$seeder = 'cd ../.. && '.$phpbin.' artisan db:seed 2>&1'; -$publish = 'cd ../.. && '.$phpbin.' artisan vendor:publish --all --force 2>&1'; +$key = 'cd ../.. && '. $phpbin .' artisan key:generate 2>&1'; +$seeder = 'cd ../.. && '. $phpbin .' artisan db:seed 2>&1'; +$publish = 'cd ../.. && '. $phpbin .' artisan vendor:publish --all --force 2>&1'; $key_output = exec($key, $data['key'], $data['key_results']); $seeder_output = exec($seeder, $data['seeder'], $data['seeder_results']);