File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1495,7 +1495,7 @@ END
14951495)
14961496
14971497send_mail=" $HESTIA /web/inc/mail-wrapper.php"
1498- cat $tmpfile | php $send_mail -s " Hestia Control Panel" $email
1498+ echo $content | php $send_mail -s " Hestia Control Panel" $email
14991499
15001500# Congrats
15011501echo ' ======================================================='
@@ -1507,7 +1507,6 @@ echo ' | _ | __/\__ \ |_| | (_| | |___| __/ '
15071507echo ' |_| |_|\___||___/\__|_|\__,_|\____|_| '
15081508echo
15091509echo
1510- cat $tmpfile
1511- rm -f $tmpfile
1510+ echo $content
15121511
15131512# EOF
Original file line number Diff line number Diff line change @@ -1443,7 +1443,7 @@ END
14431443)
14441444
14451445send_mail=" $HESTIA /web/inc/mail-wrapper.php"
1446- cat $tmpfile | php $send_mail -s " Hestia Control Panel" $email
1446+ echo $content | php $send_mail -s " Hestia Control Panel" $email
14471447
14481448# Congrats
14491449echo ' ======================================================='
@@ -1455,7 +1455,6 @@ echo ' | _ | __/\__ \ |_| | (_| | |___| __/ '
14551455echo ' |_| |_|\___||___/\__|_|\__,_|\____|_| '
14561456echo
14571457echo
1458- cat $tmpfile
1459- rm -f $tmpfile
1458+ echo $content
14601459
14611460# EOF
You can’t perform that action at this time.
0 commit comments