Default the app registry when config.php does not define it

This commit is contained in:
Thanakorn
2026-09-14 16:57:36 +07:00
parent 2ef2f32107
commit 6a271c1f7d
5 changed files with 42 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
<?php
session_start();
require_once '../../../assets/utils/db_auth.php';
require_once '../../../assets/utils/app_registry.php';
require_once '../../../assets/utils/classes/UserManager.php';
if ($user_role !== 'owner') { http_response_code(403); exit(json_encode(['success' => 0, 'message' => 'Only the owner can modify this setting.'])); }