Update sites.inc
This commit is contained in:
@@ -493,13 +493,12 @@ VIEWSITEINFO(){
|
|||||||
type='HTTP'
|
type='HTTP'
|
||||||
proxyhost=''
|
proxyhost=''
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ "$(grep ssl_certificate ${sitefile})" != "" ] && ssl='Yes' || ssl=''
|
[ "$(grep ssl_certificate ${sitefile})" != "" ] && ssl='Yes' || ssl=''
|
||||||
[ "$(grep include/hsts-support.conf ${sitefile})" != "" ] && hsts='Yes' || hsts=''
|
[ "$(grep include/hsts-support.conf ${sitefile})" != "" ] && hsts='Yes' || hsts=''
|
||||||
[ "$(grep include/websocket-support.conf ${sitefile})" != "" ] && wbskt='Yes' || wbskt=''
|
[ "$(grep include/websocket-support.conf ${sitefile})" != "" ] && wbskt='Yes' || wbskt=''
|
||||||
[ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock=''
|
[ "$(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
|
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
|
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
|
msg3="${ssl}"; c=0; spc3=''; spct=$((${cw_spc3}-${#msg3})); until [ $c = ${spct} ]; do spc3="${spc3} "; c=`expr $c + 1`; done
|
||||||
|
|||||||
Reference in New Issue
Block a user