From 5c57c5df11ea03ea12f243415bbaad1d9d12632c Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Wed, 25 Oct 2023 10:03:25 +0700 Subject: [PATCH] fix wrong cheking file --- system/cron.php | 4 ++-- system/cron_reminder.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/system/cron.php b/system/cron.php index bddfd923..869b06e6 100644 --- a/system/cron.php +++ b/system/cron.php @@ -44,8 +44,8 @@ if(!file_exists('orm.php')){ die("orm.php file not found"); } -if(!file_exists('uploads/notifications.json')){ - die("uploads/notifications.json file not found"); +if(!file_exists('uploads/notifications.default.json')){ + die("uploads/notifications.default.json file not found"); } require_once '../config.php'; diff --git a/system/cron_reminder.php b/system/cron_reminder.php index be879dcb..1b77aac8 100644 --- a/system/cron_reminder.php +++ b/system/cron_reminder.php @@ -44,8 +44,8 @@ if(!file_exists('orm.php')){ die("orm.php file not found"); } -if(!file_exists('uploads/notifications.json')){ - die("uploads/notifications.json file not found"); +if(!file_exists('uploads/notifications.default.json')){ + die("uploads/notifications.default.json file not found"); } require_once '../config.php';