From 65e6d56f1f092572bd1f7b73dcf0cb7d3a59eee7 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 15 Dec 2020 14:09:42 -0800 Subject: [PATCH] Display the extension error at the bottom of the extension list to make it more noticable --- upgrade.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/upgrade.php b/upgrade.php index 0382171e98..960edbe067 100644 --- a/upgrade.php +++ b/upgrade.php @@ -110,15 +110,16 @@ foreach ($required_exts_array as $required_ext) { // Print out a useful error message and abort the install if ($ext_missing!='') { - echo "--------------------- !! ERROR !! ----------------------\n"; - echo $ext_missing; - echo "--------------------------------------------------------\n\n"; - echo "You have the following extensions installed: \n\n"; + echo "--------------------------------------------------------\n"; + echo "You have the following extensions installed: \n"; + echo "--------------------------------------------------------\n"; foreach ($loaded_exts_array as $loaded_ext) { echo "- ".$loaded_ext."\n"; } + echo "--------------------- !! ERROR !! ----------------------\n"; + echo $ext_missing; echo "------------------------- :( ---------------------------\n"; echo "ABORTING THE INSTALLER \n"; echo "Please install the extensions above and re-run this script.\n";