mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
send email using php wrapper
This commit is contained in:
parent
8f03ce5e43
commit
de68a6bc8f
9 changed files with 9 additions and 46 deletions
|
@ -62,12 +62,7 @@ is_backup_available
|
|||
#----------------------------------------------------------#
|
||||
|
||||
# Define email wrapper
|
||||
if [ -e "$VESTA/web/inc/mail-wrapper.php" ]; then
|
||||
send_mail="$VESTA/web/inc/mail-wrapper.php"
|
||||
else
|
||||
send_mail=$(which mail)
|
||||
fi
|
||||
|
||||
send_mail="$VESTA/web/inc/mail-wrapper.php"
|
||||
|
||||
# Check user
|
||||
check_user=$(is_object_valid 'user' 'USER' "$user")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue