Skip to content

Commit ed54f83

Browse files
committed
from now vesta.conf can override any func variable
1 parent 73be3c7 commit ed54f83

File tree

200 files changed

+200
-201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+200
-201
lines changed

bin/v-add-backup-ftp-host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ ftp_port=${5-21}
1818
A3='******'
1919

2020
# Includes
21-
source $VESTA/conf/vesta.conf
2221
source $VESTA/func/main.sh
22+
source $VESTA/conf/vesta.conf
2323

2424
# Defining ftp command function
2525
ftpc() {

bin/v-add-cron-job

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ job=$8
2222
restart=$9
2323

2424
# Includes
25-
source $VESTA/conf/vesta.conf
2625
source $VESTA/func/main.sh
26+
source $VESTA/conf/vesta.conf
2727

2828
# Assing new value
2929
A7="$command"

bin/v-add-cron-report

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
user=$1
1515

1616
# Includes
17-
source $VESTA/conf/vesta.conf
1817
source $VESTA/func/main.sh
18+
source $VESTA/conf/vesta.conf
1919

2020

2121
#----------------------------------------------------------#

bin/v-add-cron-restart-job

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#----------------------------------------------------------#
1111

1212
# Includes
13-
source $VESTA/conf/vesta.conf
1413
source $VESTA/func/main.sh
14+
source $VESTA/conf/vesta.conf
1515

1616

1717
#----------------------------------------------------------#

bin/v-add-database

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ charset=${7-UTF8}
2626
charset=$(echo "$charset" |tr '[:lower:]' '[:upper:]')
2727

2828
# Includes
29-
source $VESTA/conf/vesta.conf
3029
source $VESTA/func/main.sh
3130
source $VESTA/func/db.sh
31+
source $VESTA/conf/vesta.conf
3232

3333
# Hiding password
3434
A4='******'

bin/v-add-database-host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ charsets=${7-UTF8,LATIN1,WIN1250,WIN1251,WIN1252,WIN1256,WIN1258,KOI8}
2323
template=${8-template1}
2424

2525
# Includes
26-
source $VESTA/conf/vesta.conf
2726
source $VESTA/func/main.sh
2827
source $VESTA/func/db.sh
28+
source $VESTA/conf/vesta.conf
2929

3030
# Hiding password
3131
A4='******'

bin/v-add-dns-domain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ ns4=$7
2727
restart=$8
2828

2929
# Includes
30-
source $VESTA/conf/vesta.conf
3130
source $VESTA/func/main.sh
3231
source $VESTA/func/domain.sh
32+
source $VESTA/conf/vesta.conf
3333

3434

3535
#----------------------------------------------------------#

bin/v-add-dns-on-web-alias

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ dom_alias_idn=$(idn -t --quiet -a "$dom_alias" )
2020
restart="$4"
2121

2222
# Includes
23-
source $VESTA/conf/vesta.conf
2423
source $VESTA/func/main.sh
2524
source $VESTA/func/domain.sh
25+
source $VESTA/conf/vesta.conf
2626

2727

2828
#----------------------------------------------------------#

bin/v-add-dns-record

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ if [ -z "$priority" ]; then
2929
fi
3030

3131
# Includes
32-
source $VESTA/conf/vesta.conf
3332
source $VESTA/func/main.sh
3433
source $VESTA/func/domain.sh
34+
source $VESTA/conf/vesta.conf
3535

3636

3737
#----------------------------------------------------------#

bin/v-add-domain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ domain=$2
1515
ip=$3
1616

1717
# Includes
18-
source $VESTA/conf/vesta.conf
1918
source $VESTA/func/main.sh
2019
source $VESTA/func/ip.sh
20+
source $VESTA/conf/vesta.conf
2121

2222

2323
#----------------------------------------------------------#

0 commit comments

Comments
 (0)