Update sites.inc
This commit is contained in:
@@ -560,7 +560,8 @@ SITEINFO(){
|
||||
gosite=${NM_NGINXPATH[${RUN_NODE_TYPE}]}/sites-enabled
|
||||
declare -A SITELIST
|
||||
if [ "${gosite}" != "" ]; then
|
||||
[ "${SEARCH}" != "0" ] && sites=$(find ${gosite}/*${SEARCH,,}*.conf >/dev/null 2>&1) || sites=$(find ${gosite}/*.conf >/dev/null 2>&1)
|
||||
[ "${SEARCH}" != "0" ] && sites=$(find ${gosite}/*${SEARCH,,}*.conf) || sites=$(find ${gosite}/*.conf)
|
||||
echo "HERE: '$sites'"
|
||||
if [ "${sites}" != "" ]; then
|
||||
i=1
|
||||
for sitefile in ${sites[@]}; do
|
||||
|
||||
Reference in New Issue
Block a user