File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed
Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -1477,24 +1477,25 @@ if [ "$host_ip" = "$ip" ]; then
14771477fi
14781478
14791479# Sending notification to admin email
1480- echo -e " Congratulations, you have just successfully installed \
1481- Hestia Control Panel
1480+ content= $( cat << - END
1481+ Congratulations, you have just successfully installed Hestia Control Panel!
14821482
14831483 https://$ip :$port
14841484 username: admin
14851485 password: $vpass
14861486
1487- We hope that you enjoy your installation of Hestia. Please \
1487+ We hope that you enjoy your installation of Hestia. Please
14881488feel free to contact us anytime if you have any questions.
14891489Thank you.
14901490
14911491--
14921492Sincerely yours
14931493hestiacp.com team
1494- " > $tmpfile
1494+ END
1495+ )
14951496
14961497send_mail=" $HESTIA /web/inc/mail-wrapper.php"
1497- cat $tmpfile | $send_mail -s " Hestia Control Panel" $email
1498+ cat $tmpfile | php $send_mail -s " Hestia Control Panel" $email
14981499
14991500# Congrats
15001501echo ' ======================================================='
Original file line number Diff line number Diff line change @@ -1425,24 +1425,25 @@ if [ "$host_ip" = "$ip" ]; then
14251425fi
14261426
14271427# Sending notification to admin email
1428- echo -e " Congratulations, you have just successfully installed \
1429- Hestia Control Panel
1428+ content= $( cat << - END
1429+ Congratulations, you have just successfully installed Hestia Control Panel!
14301430
14311431 https://$ip :$port
14321432 username: admin
14331433 password: $vpass
14341434
1435- We hope that you enjoy your installation of Hestia. Please \
1435+ We hope that you enjoy your installation of Hestia. Please
14361436feel free to contact us anytime if you have any questions.
14371437Thank you.
14381438
14391439--
14401440Sincerely yours
1441- HestiaCP.com team
1442- " > $tmpfile
1441+ hestiacp.com team
1442+ END
1443+ )
14431444
14441445send_mail=" $HESTIA /web/inc/mail-wrapper.php"
1445- cat $tmpfile | $send_mail -s " Hestia Control Panel" $email
1446+ cat $tmpfile | php $send_mail -s " Hestia Control Panel" $email
14461447
14471448# Congrats
14481449echo ' ======================================================='
You can’t perform that action at this time.
0 commit comments