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