issue #894 storage:link

This commit is contained in:
rahul shukla 2019-04-29 18:04:42 +05:30
parent f841f16621
commit 577fc33610
2 changed files with 2 additions and 2 deletions

View File

@ -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'; $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 // if there are no errors process our form, then return a message
// show a message of success and provide a true success variable // show a message of success and provide a true success variable
$data['success'] = true; $data['success'] = true;

View File

@ -120,8 +120,6 @@
// object creation // object creation
$requirement = new Requirement(); $requirement = new Requirement();
echo $requirement->render(); echo $requirement->render();
$storage_output = exec('cd ../.. && php artisan storage:link 2>&1');
} else { } else {
// getting url // getting url
$actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; $actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";