issue #894 storage:link
This commit is contained in:
parent
f841f16621
commit
577fc33610
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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]";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue