diff --git a/inc/sites.inc b/inc/sites.inc index c819bcba..b0a3c30f 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -542,10 +542,10 @@ SITEINFO(){ site=${SITELIST[${siteid}]} sitefile=${!gosite}/${site}.conf - [ "$(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='' + [ "$(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='-' echo -e "${idsCL[Cyan]}Site: ${idsST[Bold]}${site}${idsST[Reset]}${idsCL[LightCyan]}" echo -e "${idsCL[Cyan]}SSL: ${idsST[Bold]}${ssl}${idsST[Reset]}${idsCL[LightCyan]}"