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']);