From 577fc3361049ebd1b9a3cfe7a927e2bf80622370 Mon Sep 17 00:00:00 2001 From: rahul shukla Date: Mon, 29 Apr 2019 18:04:42 +0530 Subject: [PATCH] issue #894 storage:link --- public/installer/AdminConfig.php | 2 ++ public/installer/index.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/installer/AdminConfig.php b/public/installer/AdminConfig.php index 6bb38798c..cfb17829b 100755 --- a/public/installer/AdminConfig.php +++ b/public/installer/AdminConfig.php @@ -100,6 +100,8 @@ $data = array(); $data['support_error'] = 'Bagisto currently support MySQL only. Press OK to still continue or change you DB connection to MySQL'; } + $storage_output = exec('cd ../.. && php 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 $data['success'] = true; diff --git a/public/installer/index.php b/public/installer/index.php index 7edc6a201..46853c3f3 100755 --- a/public/installer/index.php +++ b/public/installer/index.php @@ -120,8 +120,6 @@ // object creation $requirement = new Requirement(); echo $requirement->render(); - - $storage_output = exec('cd ../.. && php artisan storage:link 2>&1'); } else { // getting url $actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";