Update 'bin/wp-create-db-user-from-config.sh'
This commit is contained in:
parent
0bdd62a7ae
commit
3f229faf49
|
@ -20,7 +20,7 @@ fi
|
||||||
# set username
|
# set username
|
||||||
VHOST_USER=$(stat -c '%U' /srv/$VHOST)
|
VHOST_USER=$(stat -c '%U' /srv/$VHOST)
|
||||||
|
|
||||||
cd /srv/$VHOST/html/
|
cd /srv/www/$VHOST/html/
|
||||||
DB_NAME=`wp --allow-root config get DB_NAME`
|
DB_NAME=`wp --allow-root config get DB_NAME`
|
||||||
DB_USER=`wp --allow-root config get DB_USER`
|
DB_USER=`wp --allow-root config get DB_USER`
|
||||||
DB_PASSWORD=`wp --allow-root config get DB_PASSWORD`
|
DB_PASSWORD=`wp --allow-root config get DB_PASSWORD`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user