Updated FTP upload hook script with new vhost.map file location

This commit is contained in:
drigato 2014-11-18 14:58:27 -05:00
parent 2494e66bb0
commit 2cfe08b33a
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ post_file() {
airtime_conf_path=/etc/airtime/airtime.conf
#maps the instance_path to the url
vhost_file=/mnt/airtimepro/system/vhost.map
vhost_file=/etc/apache2/airtime/vhost.map
#instance_path will look like 1/1384, for example
instance_path=$(echo ${file_path} | grep -Po "(?<=($base_instance_path)).*?(?=/srv)")