fix wrong cheking file

This commit is contained in:
Ibnu Maksum 2023-10-25 10:03:25 +07:00
parent 9e09611816
commit 5c57c5df11
No known key found for this signature in database
GPG key ID: 7FC82848810579E5
2 changed files with 4 additions and 4 deletions

View file

@ -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';

View file

@ -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';