fix path to vhost dir
This commit is contained in:
parent
d08a3f77a9
commit
f89b543c1b
|
@ -19,7 +19,7 @@ if [ ! -f /srv/www/$VHOST/html/wp-config.php ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# set username
|
# set username
|
||||||
VHOST_USER=$(stat -c '%U' /srv/$VHOST)
|
VHOST_USER=$(stat -c '%U' /srv/www/$VHOST)
|
||||||
|
|
||||||
cd /srv/www/$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`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user