Notification Message Editor

This commit is contained in:
Ibnu Maksum
2023-08-14 11:24:27 +07:00
parent aeeb04fd67
commit 1904e5e8a0
10 changed files with 224 additions and 97 deletions

View File

@ -128,6 +128,12 @@ if (isset($_SESSION['notify'])) {
include "autoload/Hookers.php";
// notification message
if(file_exists("system/uploads/notifications.json")){
$_notifmsg =json_decode(file_get_contents('system/uploads/notifications.json'), true);
}else{
$_notifmsg = json_decode(file_get_contents('system/uploads/notifications.default.json'), true);
}
//register all plugin
foreach (glob("system/plugin/*.php") as $filename) {