diff --git a/src/php-cli/batch/send_mail_to_7days_left_maestro.php b/src/php-cli/batch/send_mail_to_7days_left_maestro.php index 119f96d..042ecc3 100644 --- a/src/php-cli/batch/send_mail_to_7days_left_maestro.php +++ b/src/php-cli/batch/send_mail_to_7days_left_maestro.php @@ -2,13 +2,13 @@ # /Applications/MAMP/bin/php/php7.3.1/bin/php send_mail_to_7days_left_maestro.php -include "./../../web/server/setup/connect_db.php"; +include __DIR__."/../../web/server/setup/connect_db.php"; -//include "./../../web/php/mail/chocomae_info.php"; -include "./../../web/php/mail/mail_setting.php"; -include './../../web/server/mail/mail_contents.php'; -include './../../web/server/lib/maestro_account_info.php'; -include "./../../web/server/mail/send_naver_mail.php"; +//include __DIR__."/../../web/php/mail/chocomae_info.php"; +include __DIR__."/../../web/php/mail/mail_setting.php"; +include __DIR__."/../../web/server/mail/mail_contents.php"; +include __DIR__."/../../web/server/lib/maestro_account_info.php"; +include __DIR__."/../../web/server/mail/send_naver_mail.php"; $maestroList = null; $maestroList = get_7days_left_maestro_list(); diff --git a/src/php-cli/batch/send_mail_to_overdated_maestro.php b/src/php-cli/batch/send_mail_to_overdated_maestro.php index a86d6d2..67e2548 100644 --- a/src/php-cli/batch/send_mail_to_overdated_maestro.php +++ b/src/php-cli/batch/send_mail_to_overdated_maestro.php @@ -2,13 +2,13 @@ # /Applications/MAMP/bin/php/php7.3.1/bin/php send_mail_to_overdated_maestro.php -include "./../../web/server/setup/connect_db.php"; +include __DIR__."/../../web/server/setup/connect_db.php"; -//include "./../../web/php/mail/chocomae_info.php"; -include "./../../web/php/mail/mail_setting.php"; -include './../../web/server/mail/mail_contents.php'; -include './../../web/server/lib/maestro_account_info.php'; -include "./../../web/server/mail/send_naver_mail.php"; +//include __DIR__."/../../web/php/mail/chocomae_info.php"; +include __DIR__."/../../web/php/mail/mail_setting.php"; +include __DIR__."/../../web/server/mail/mail_contents.php"; +include __DIR__."/../../web/server/lib/maestro_account_info.php"; +include __DIR__."/../../web/server/mail/send_naver_mail.php"; $maestroList = null; $maestroList = get_overdated_maestro_list(); diff --git a/src/php-cli/batch/test_send_mail_to_7days_left_maestro.php b/src/php-cli/batch/test_send_mail_to_7days_left_maestro.php index 06bfea0..0225efd 100644 --- a/src/php-cli/batch/test_send_mail_to_7days_left_maestro.php +++ b/src/php-cli/batch/test_send_mail_to_7days_left_maestro.php @@ -2,13 +2,13 @@ # /Applications/MAMP/bin/php/php7.3.1/bin/php send_mail_to_7days_left_maestro.php -include "./../../web/server/setup/connect_db.php"; +include __DIR__."/../../web/server/setup/connect_db.php"; -//include "./../../web/php/mail/chocomae_info.php"; -include "./../../web/php/mail/mail_setting.php"; -include './../../web/server/mail/mail_contents.php'; -include './../../web/server/lib/maestro_account_info.php'; -include "./../../web/server/mail/send_naver_mail.php"; +//include __DIR__."/../../web/php/mail/chocomae_info.php"; +include __DIR__."/../../web/php/mail/mail_setting.php"; +include __DIR__."/../../web/server/mail/mail_contents.php"; +include __DIR__."/../../web/server/lib/maestro_account_info.php"; +include __DIR__."/../../web/server/mail/send_naver_mail.php"; $maestroList = null; $maestroList = get_7days_left_maestro_list(); diff --git a/src/php-cli/batch/test_send_mail_to_overdated_maestro.php b/src/php-cli/batch/test_send_mail_to_overdated_maestro.php index 3a7fc3e..0bbda64 100644 --- a/src/php-cli/batch/test_send_mail_to_overdated_maestro.php +++ b/src/php-cli/batch/test_send_mail_to_overdated_maestro.php @@ -2,13 +2,13 @@ # /Applications/MAMP/bin/php/php7.3.1/bin/php send_mail_to_overdated_maestro.php -include "./../../web/server/setup/connect_db.php"; +include __DIR__."/../../web/server/setup/connect_db.php"; -//include "./../../web/php/mail/chocomae_info.php"; -include "./../../web/php/mail/mail_setting.php"; -include './../../web/server/mail/mail_contents.php'; -include './../../web/server/lib/maestro_account_info.php'; -include "./../../web/server/mail/send_naver_mail.php"; +//include __DIR__."/../../web/php/mail/chocomae_info.php"; +include __DIR__."/../../web/php/mail/mail_setting.php"; +include __DIR__."/../../web/server/mail/mail_contents.php"; +include __DIR__."/../../web/server/lib/maestro_account_info.php"; +include __DIR__."/../../web/server/mail/send_naver_mail.php"; $maestroList = null; $maestroList = get_overdated_maestro_list();