From e3684c2f6dcfa62bd5ea75d2b9eb25d4bc8e887e Mon Sep 17 00:00:00 2001 From: Hani Rouatbi Date: Sat, 26 Nov 2022 17:03:40 +0100 Subject: [PATCH] Update install.php --- install/install.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/install/install.php b/install/install.php index f47bac4..755ac43 100755 --- a/install/install.php +++ b/install/install.php @@ -194,8 +194,7 @@ case 'data' : || empty(p('username')) || empty(p('password')) || empty(p('password2')) || empty(p('email'))) { echo $lang['EMPTY_FIELDS']; - echo $footer_inst; - + echo gettpl('footer.html'); exit(); } @@ -203,16 +202,14 @@ case 'data' : if (! empty(p('password')) && ! empty(p('password2')) && p('password') != p('password2')) { echo $lang['PASS_NEQ_PASS2']; - echo $footer_inst; - + echo gettpl('footer.html'); exit(); } if (strpos(p('email'), '@') === false) { echo $lang['WRONG_EMAIL']; - echo $footer_inst; - + echo gettpl('footer.html'); exit(); }