mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
Update install.php
This commit is contained in:
@@ -194,8 +194,7 @@ case 'data' :
|
|||||||
|| empty(p('username')) || empty(p('password')) || empty(p('password2')) || empty(p('email')))
|
|| empty(p('username')) || empty(p('password')) || empty(p('password2')) || empty(p('email')))
|
||||||
{
|
{
|
||||||
echo $lang['EMPTY_FIELDS'];
|
echo $lang['EMPTY_FIELDS'];
|
||||||
echo $footer_inst;
|
echo gettpl('footer.html');
|
||||||
|
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -203,16 +202,14 @@ case 'data' :
|
|||||||
if (! empty(p('password')) && ! empty(p('password2')) && p('password') != p('password2'))
|
if (! empty(p('password')) && ! empty(p('password2')) && p('password') != p('password2'))
|
||||||
{
|
{
|
||||||
echo $lang['PASS_NEQ_PASS2'];
|
echo $lang['PASS_NEQ_PASS2'];
|
||||||
echo $footer_inst;
|
echo gettpl('footer.html');
|
||||||
|
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strpos(p('email'), '@') === false)
|
if (strpos(p('email'), '@') === false)
|
||||||
{
|
{
|
||||||
echo $lang['WRONG_EMAIL'];
|
echo $lang['WRONG_EMAIL'];
|
||||||
echo $footer_inst;
|
echo gettpl('footer.html');
|
||||||
|
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user