From 22442e5dc9b8851462d635af1e11a9581a845664 Mon Sep 17 00:00:00 2001 From: Lin <31387258+011248163264@users.noreply.github.com> Date: Wed, 25 Feb 2026 14:31:01 +0100 Subject: [PATCH] Update home.php added condition, when CLEARNET = 0 then disable clearnet option on home.php --- var/www/html/home.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/www/html/home.php b/var/www/html/home.php index 1a3fc23..d006950 100644 --- a/var/www/html/home.php +++ b/var/www/html/home.php @@ -219,6 +219,7 @@ echo ''; } echo ''; +if (defined('CLEARNET') && CLEARNET !== '0'): if(MAX_NUM_USER_DOMAINS>0){ echo '

'._('Clearnet domains').'

'; echo ''; @@ -251,6 +252,7 @@ echo '
'; echo '

'.sprintf(_('To enable your clearnet domain, edit your DNS settings and enter %1$s as your A record and %2$s as your AAAA record. Once you have modified your DNS settings, contact me to configure the SSL certificate. You may also use any subdomain of %4$s'), CLEARNET_A, CLEARNET_AAAA, CONTACT_URL, CLEARNET_SUBDOMAINS).'

'; } +endif; echo '

'._('MySQL Database').'

'; echo ''; echo '';
'._('Database').''._('Host').''._('User').''._('Action').'