Fix Text Cron

This commit is contained in:
Ibnu Maksum 2023-09-01 14:03:02 +07:00
parent 183a5ab242
commit a33705c0c4
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -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) {