CC-5708: proftpd hook for new File API
encased var in {}
This commit is contained in:
parent
2fdc4291e3
commit
49996a9986
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ post_file() {
|
|||
vhost_file=/mnt/airtimepro/system/vhost.map
|
||||
|
||||
#instance_path will look like 1/1384, for example
|
||||
instance_path=$(echo $file_path | grep -Po "(?<=($base_instance_path)).*?(?=/srv)")
|
||||
instance_path=$(echo ${file_path} | grep -Po "(?<=($base_instance_path)).*?(?=/srv)")
|
||||
|
||||
#post request url - http://bananas.airtime.pro/rest/media, for example
|
||||
url=http://
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue