From 3b015a3abf35804947290c0b3362671f89572feb Mon Sep 17 00:00:00 2001 From: "jisangs (iMac)" Date: Thu, 21 Apr 2022 21:27:02 +0900 Subject: [PATCH] Fix: remove include mail php file --- src/web/server/admin/extension_maestro.php | 2 +- src/web/server/admin/register_maestro.php | 2 +- src/web/server/admin/upgrade_maestro.php | 2 +- src/web/server/maestro/add_maestro.php | 2 +- src/web/server/maestro/request_extension_maestro.php | 2 +- src/web/server/maestro/request_upgrade_maestro.php | 2 +- src/web/server/maestro/update_maestro_info.php | 2 +- src/web/server/mail/send_mail.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/web/server/admin/extension_maestro.php b/src/web/server/admin/extension_maestro.php index cad2de0..f8bceaa 100644 --- a/src/web/server/admin/extension_maestro.php +++ b/src/web/server/admin/extension_maestro.php @@ -7,7 +7,7 @@ include "./../lib/db_maestro.php"; include "./../lib/maestro_log.php"; include "./../lib/maestro_account_info.php"; include "./../mail/mail_setting.php"; -include "./../mail/send_mail.php"; +// include "./../mail/send_mail.php"; $maestro_extension_id = $_POST["maestro_extension_id"]; $maestro_id = $_POST["maestro_id"]; diff --git a/src/web/server/admin/register_maestro.php b/src/web/server/admin/register_maestro.php index 48ae294..21bffc6 100644 --- a/src/web/server/admin/register_maestro.php +++ b/src/web/server/admin/register_maestro.php @@ -7,7 +7,7 @@ include "./../lib/maestro_account_info.php"; include "./../lib/db_maestro.php"; include "./../lib/maestro_log.php"; include "./../mail/mail_setting.php"; -include "./../mail/send_mail.php"; +// include "./../mail/send_mail.php"; $maestroID = $_POST["maestro_id"]; diff --git a/src/web/server/admin/upgrade_maestro.php b/src/web/server/admin/upgrade_maestro.php index b019c3b..5bf630e 100644 --- a/src/web/server/admin/upgrade_maestro.php +++ b/src/web/server/admin/upgrade_maestro.php @@ -7,7 +7,7 @@ include "./../lib/db_maestro.php"; include "./../lib/maestro_log.php"; include "./../lib/maestro_account_info.php"; include "./../mail/mail_setting.php"; -include "./../mail/send_mail.php"; +// include "./../mail/send_mail.php"; $maestro_upgrade_id = $_POST["maestro_upgrade_id"]; $maestro_id = $_POST["maestro_id"]; diff --git a/src/web/server/maestro/add_maestro.php b/src/web/server/maestro/add_maestro.php index 034b8a0..0e90f24 100644 --- a/src/web/server/maestro/add_maestro.php +++ b/src/web/server/maestro/add_maestro.php @@ -10,7 +10,7 @@ include "./../lib/maestro_account_info.php"; include "./../lib/db_maestro.php"; include "./../lib/maestro_log.php"; include "./../mail/mail_setting.php"; -include "./../mail/send_mail.php"; +// include "./../mail/send_mail.php"; $maestro_name = $_POST["maestro_name"]; diff --git a/src/web/server/maestro/request_extension_maestro.php b/src/web/server/maestro/request_extension_maestro.php index ac3f8a6..0bee2c5 100644 --- a/src/web/server/maestro/request_extension_maestro.php +++ b/src/web/server/maestro/request_extension_maestro.php @@ -6,7 +6,7 @@ include "./../lib/send_reply_json.php"; include "./../lib/db_maestro.php"; include "./../lib/maestro_account_info.php"; include "./../mail/mail_setting.php"; -include "./../mail/send_mail.php"; +// include "./../mail/send_mail.php"; $maestro_id = $_POST["maestro_id"]; $available_date = $_POST["available_date"]; diff --git a/src/web/server/maestro/request_upgrade_maestro.php b/src/web/server/maestro/request_upgrade_maestro.php index 4ed5eb5..b3cf367 100644 --- a/src/web/server/maestro/request_upgrade_maestro.php +++ b/src/web/server/maestro/request_upgrade_maestro.php @@ -6,7 +6,7 @@ include "./../lib/send_reply_json.php"; include "./../lib/db_maestro.php"; include "./../lib/maestro_account_info.php"; include "./../mail/mail_setting.php"; -include "./../mail/send_mail.php"; +// include "./../mail/send_mail.php"; $maestro_id = $_POST["maestro_id"]; $registered_acount_type = $_POST["registered_account_type"]; diff --git a/src/web/server/maestro/update_maestro_info.php b/src/web/server/maestro/update_maestro_info.php index 5dcbab5..a62bf2c 100644 --- a/src/web/server/maestro/update_maestro_info.php +++ b/src/web/server/maestro/update_maestro_info.php @@ -7,7 +7,7 @@ include "./../lib/maestro_account_info.php"; include "./../lib/db_maestro.php"; include "./../lib/maestro_log.php"; include "./../mail/mail_setting.php"; -include "./../mail/send_mail.php"; +// include "./../mail/send_mail.php"; $maestroID = $_POST["maestro_id"]; $maestroName = $_POST["maestro_name"]; diff --git a/src/web/server/mail/send_mail.php b/src/web/server/mail/send_mail.php index 8b57a58..9d29092 100644 --- a/src/web/server/mail/send_mail.php +++ b/src/web/server/mail/send_mail.php @@ -201,7 +201,7 @@ function sendEmail($postParamData) { // cUrl($postParam, $timestamp, $signature); $recipients = getPostParamData($postParamData, "recipients"); - $maestro_email = $recipients + $maestro_email = $recipients; $subject = getPostParamData($postParamData, "title"); $body = getPostParamData($postParamData, "body"); send_mail($address, $subject, $body);