Update sites.inc
This commit is contained in:
@@ -677,13 +677,10 @@ SITEINFO(){
|
||||
|
||||
while [ "${edit^}" != "E" ]; do
|
||||
|
||||
if [ "${2}" == "" ]; then
|
||||
echo -en "\n${idsCL[LightCyan]}Enter the site number you want to edit: ${idsCL[Default]}"
|
||||
read siteid
|
||||
echo
|
||||
elif [ "${siteid}" == "" ]; then
|
||||
siteid=${2}
|
||||
fi
|
||||
echo -en "\n${idsCL[LightCyan]}Enter the site number you want to edit: ${idsCL[Default]}"
|
||||
read siteid
|
||||
echo
|
||||
|
||||
site=${SITELIST[${siteid}]}
|
||||
sitefile=${gosite}/${site}.conf
|
||||
if [ "$(grep \#ssl_certificate ${sitefile})" != "" ]; then
|
||||
|
||||
Reference in New Issue
Block a user