mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Display the extension error at the bottom of the extension list to make it more noticable
This commit is contained in:
parent
bf34385c3e
commit
65e6d56f1f
|
@ -110,15 +110,16 @@ foreach ($required_exts_array as $required_ext) {
|
||||||
|
|
||||||
// Print out a useful error message and abort the install
|
// Print out a useful error message and abort the install
|
||||||
if ($ext_missing!='') {
|
if ($ext_missing!='') {
|
||||||
echo "--------------------- !! ERROR !! ----------------------\n";
|
echo "--------------------------------------------------------\n";
|
||||||
echo $ext_missing;
|
echo "You have the following extensions installed: \n";
|
||||||
echo "--------------------------------------------------------\n\n";
|
echo "--------------------------------------------------------\n";
|
||||||
echo "You have the following extensions installed: \n\n";
|
|
||||||
|
|
||||||
foreach ($loaded_exts_array as $loaded_ext) {
|
foreach ($loaded_exts_array as $loaded_ext) {
|
||||||
echo "- ".$loaded_ext."\n";
|
echo "- ".$loaded_ext."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "--------------------- !! ERROR !! ----------------------\n";
|
||||||
|
echo $ext_missing;
|
||||||
echo "------------------------- :( ---------------------------\n";
|
echo "------------------------- :( ---------------------------\n";
|
||||||
echo "ABORTING THE INSTALLER \n";
|
echo "ABORTING THE INSTALLER \n";
|
||||||
echo "Please install the extensions above and re-run this script.\n";
|
echo "Please install the extensions above and re-run this script.\n";
|
||||||
|
|
Loading…
Reference in a new issue