mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
Update v-clone-website
This commit is contained in:
parent
54fab10b52
commit
bc3ac1d993
1 changed files with 3 additions and 2 deletions
|
@ -51,8 +51,6 @@ TO_DATABASE_USERNAME=''
|
||||||
TO_DATABASE_PASSWORD=''
|
TO_DATABASE_PASSWORD=''
|
||||||
DATABASE_SUFIX='_migrated'
|
DATABASE_SUFIX='_migrated'
|
||||||
|
|
||||||
source /usr/local/vesta/func/handle_parameters.sh
|
|
||||||
|
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
# Verifications #
|
# Verifications #
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
@ -66,6 +64,9 @@ FROM_USER=$user
|
||||||
r=$(/usr/local/vesta/bin/v-get-database-credentials-of-domain "$FROM_DOMAIN")
|
r=$(/usr/local/vesta/bin/v-get-database-credentials-of-domain "$FROM_DOMAIN")
|
||||||
eval $r
|
eval $r
|
||||||
|
|
||||||
|
# take --parameters
|
||||||
|
source /usr/local/vesta/func/handle_parameters.sh
|
||||||
|
|
||||||
FROM_FOLDER=$SITE_FOLDER
|
FROM_FOLDER=$SITE_FOLDER
|
||||||
|
|
||||||
if [ ! -z "$CONFIG_FILE" ]; then
|
if [ ! -z "$CONFIG_FILE" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue