From 821e20fd762da72895d82aafd7e4ceb6c2ef9a0f26b7f16de76ad7c512868b4f Mon Sep 17 00:00:00 2001 From: reclusejay Date: Thu, 23 Oct 2025 02:16:09 +0100 Subject: [PATCH] Fixed js config not loading --- src/includes/config.php | 2 +- src/index.php | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/includes/config.php b/src/includes/config.php index 672f7e6..a44c66c 100644 --- a/src/includes/config.php +++ b/src/includes/config.php @@ -31,7 +31,7 @@ $CONFIG = [ ]; // === JavaScript Variables === -$CONFIG += [ +$CONFIG_JS = [ // === Index System Wide === 'index_admin_status_update_interval' => 50000, diff --git a/src/index.php b/src/index.php index a1479db..e56c8bc 100644 --- a/src/index.php +++ b/src/index.php @@ -53,15 +53,8 @@ unset($nav_order,$nav_admin,$nav_hidden); <?= htmlspecialchars($CONFIG['site_name']) ?> + const CONFIG = ; +