mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
--max-time 10 sec to check official vestacp licences
This commit is contained in:
parent
3272e6c4a6
commit
ace47e7c92
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ for str in $modules; do
|
|||
license=$(echo "$str" |cut -f 2 -d \')
|
||||
if [ ! -z "$license" ]; then
|
||||
v_host='https://vestacp.com/checkout'
|
||||
answer=$(curl -s "$v_host/check.php?licence_key=$license&module=$module")
|
||||
answer=$(curl --max-time 10 -s "$v_host/check.php?licence_key=$license&module=$module")
|
||||
check_result $? "cant' connect to vestacp.com " 0
|
||||
echo "$module $license $answer"
|
||||
if [[ "$answer" != '0' ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue