Browse Source

Fix wp-config.php Path

old-stable
Mitesh Shah 12 years ago
parent
commit
f8a80c434e
  1. 12
      setup/engine

12
setup/engine

@ -739,13 +739,13 @@ then
then
# Get The Database Details
MYSQLUSER=$(grep DB_USER /var/www/$DOMAIN/htdocs/wp-config.php \
MYSQLUSER=$(grep DB_USER /var/www/$DOMAIN/wp-config.php \
| cut -d"'" -f4)
MYSQLPASS=$(grep DB_PASSWORD /var/www/$DOMAIN/htdocs/wp-config.php \
MYSQLPASS=$(grep DB_PASSWORD /var/www/$DOMAIN/wp-config.php \
| cut -d"'" -f4)
WPDBNAME=$(grep DB_NAME /var/www/$DOMAIN/htdocs/wp-config.php \
WPDBNAME=$(grep DB_NAME /var/www/$DOMAIN/wp-config.php \
| cut -d"'" -f4)
# Remove Database
@ -764,13 +764,13 @@ then
then
# Get The Database Details
MYSQLUSER=$(grep DB_USER /var/www/$DOMAIN/htdocs/wp-config.php \
MYSQLUSER=$(grep DB_USER /var/www/$DOMAIN/wp-config.php \
| cut -d"'" -f4)
MYSQLPASS=$(grep DB_PASSWORD /var/www/$DOMAIN/htdocs/wp-config.php \
MYSQLPASS=$(grep DB_PASSWORD /var/www/$DOMAIN/wp-config.php \
| cut -d"'" -f4)
WPDBNAME=$(grep DB_NAME /var/www/$DOMAIN/htdocs/wp-config.php \
WPDBNAME=$(grep DB_NAME /var/www/$DOMAIN/wp-config.php \
| cut -d"'" -f4)
# Remove Database

Loading…
Cancel
Save