From f8a80c434ebd1133ca299225fbe63a402a4047ec Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Wed, 6 Mar 2013 16:05:59 +0530 Subject: [PATCH] Fix wp-config.php Path --- setup/engine | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup/engine b/setup/engine index 3ef67c3b..0f8dc7b2 100755 --- a/setup/engine +++ b/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