From a33705c0c48cd17b66ecbdaa91ae04ceee4bd163 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Fri, 1 Sep 2023 14:03:02 +0700 Subject: [PATCH] Fix Text Cron --- system/cron.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/cron.php b/system/cron.php index f13df716..ddd060c7 100644 --- a/system/cron.php +++ b/system/cron.php @@ -19,10 +19,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) {