From 2ca7448bd3ffc934f41ef9a3a2e2e0f5114096c4 Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 22 Jan 2025 00:46:00 -0800 Subject: [PATCH] Define RASPI_BRAND_TITLE, replace static title --- config/config.php | 1 + includes/defaults.php | 1 + index.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/config.php b/config/config.php index feaeecea..17c40cb4 100755 --- a/config/config.php +++ b/config/config.php @@ -1,6 +1,7 @@ 'RaspAP', + 'RASPI_BRAND_TITLE' => RASPI_BRAND_TEXT.' Admin Panel', 'RASPI_VERSION' => '3.2.4', 'RASPI_CONFIG_NETWORK' => RASPI_CONFIG.'/networking/defaults.json', 'RASPI_CONFIG_PROVIDERS' => 'config/vpn-providers.json', diff --git a/index.php b/index.php index 3e060dc0..32c86af9 100755 --- a/index.php +++ b/index.php @@ -65,7 +65,7 @@ initializeApp(); - <?php echo _("RaspAP WiFi Configuration Portal"); ?> + <?php echo RASPI_BRAND_TITLE; ?>