mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 22:04:00 -07:00
Merge pull request #1987 from clarkchentw/clarkchentw-patch-1
Fix curl call
This commit is contained in:
commit
9aeef63ff4
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ is_user_format_valid "$license" "license"
|
||||||
|
|
||||||
# Activating license
|
# Activating license
|
||||||
v_host='https://vestacp.com/checkout'
|
v_host='https://vestacp.com/checkout'
|
||||||
answer=$(curl -s $v_host/activate.php?licence_key=$license&module=$module)
|
answer=$(curl -s "$v_host/activate.php?licence_key=$license&module=$module")
|
||||||
check_result $? "cant' connect to vestacp.com " $E_CONNECT
|
check_result $? "cant' connect to vestacp.com " $E_CONNECT
|
||||||
|
|
||||||
# Checking server answer
|
# Checking server answer
|
||||||
|
|
|
@ -35,7 +35,7 @@ check_args '2' "$#" 'MODULE LICENSE'
|
||||||
|
|
||||||
# Activating license
|
# Activating license
|
||||||
v_host='https://vestacp.com/checkout'
|
v_host='https://vestacp.com/checkout'
|
||||||
answer=$(curl -s $v_host/cancel.php?licence_key=$license)
|
answer=$(curl -s "$v_host/cancel.php?licence_key=$license&module=$module")
|
||||||
check_result $? "cant' connect to vestacp.com " $E_CONNECT
|
check_result $? "cant' connect to vestacp.com " $E_CONNECT
|
||||||
|
|
||||||
# Checking server answer
|
# Checking server answer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue