From 3255d33ae2dd2dc326314b9c4e6900d37719732f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 24 May 2023 23:29:27 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index e198c091..b674436b 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -493,13 +493,12 @@ VIEWSITEINFO(){ type='HTTP' proxyhost='' fi + [ "$(grep ssl_certificate ${sitefile})" != "" ] && ssl='Yes' || ssl='' [ "$(grep include/hsts-support.conf ${sitefile})" != "" ] && hsts='Yes' || hsts='' [ "$(grep include/websocket-support.conf ${sitefile})" != "" ] && wbskt='Yes' || wbskt='' [ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='' - - msg1="${site}"; c=0; spc1=''; spct=$((${cw_spc1}-${#msg1})); until [ $c = ${spct} ]; do spc1="${spc1} "; c=`expr $c + 1`; done msg2="${type}"; c=0; spc2=''; spct=$((${cw_spc2}-${#msg2})); until [ $c = ${spct} ]; do spc2="${spc2} "; c=`expr $c + 1`; done msg3="${ssl}"; c=0; spc3=''; spct=$((${cw_spc3}-${#msg3})); until [ $c = ${spct} ]; do spc3="${spc3} "; c=`expr $c + 1`; done