From 183a5ab2421636ed485d0fb57949b2146adbfa9c Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Fri, 1 Sep 2023 13:56:14 +0700 Subject: [PATCH] Fix Reminder text --- CHANGELOG.md | 1 + system/cron_reminder.php | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89b521ba..17983387 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ## 2023.9.1.1 - Fix cronjob Delete customer +- Fix reminder text ## 2023.9.1 diff --git a/system/cron_reminder.php b/system/cron_reminder.php index 2985a4af..22474f84 100644 --- a/system/cron_reminder.php +++ b/system/cron_reminder.php @@ -22,10 +22,10 @@ ORM::configure('logging', true); include "autoload/Hookers.php"; // notification message -if(file_exists("system/uploads/notifications.json")){ - $_notifmsg =json_decode(file_get_contents('system/uploads/notifications.json'), true); +if(file_exists("uploads/notifications.json")){ + $_notifmsg =json_decode(file_get_contents('uploads/notifications.json'), true); } -$_notifmsg_default = json_decode(file_get_contents('system/uploads/notifications.default.json'), true); +$_notifmsg_default = json_decode(file_get_contents('uploads/notifications.default.json'), true); //register all plugin foreach (glob("plugin/*.php") as $filename) {