File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -806,7 +806,7 @@ EESITEINFO()
806806 ACCESSLOG=$( grep access_log /etc/nginx/sites-available/$DOMAIN | grep " /var/log/nginx/" | awk ' {print($2)}' | cut -d ' ;' -f1)
807807 ERRORLOG=$( grep error_log /etc/nginx/sites-available/$DOMAIN | grep " /var/log/nginx/" | awk ' {print($2)}' | cut -d ' ;' -f1)
808808 WEBROOT=$( grep root /etc/nginx/sites-available/$DOMAIN | grep htdocs | awk ' {print($2)}' | cut -d ' ;' -f1)
809- WPDBNAME=$( grep DB_USER /var/www/$DOMAIN /wp-config.php 2> /dev/null | cut -d" '" -f4)
809+ WPDBNAME=$( grep DB_NAME /var/www/$DOMAIN /wp-config.php 2> /dev/null | cut -d" '" -f4)
810810
811811 echo -e " \033[34m$DOMAIN Information:\n\e[0m"
812812 echo -e " \033[34mNginx Configuration:\t\t \033[37m$SITEINFO ($SITESTATUS )\e[0m"
You can’t perform that action at this time.
0 commit comments