mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
--max-time 60 sec for checking official licence
This commit is contained in:
parent
e56984de25
commit
d362624583
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 \')
|
license=$(echo "$str" |cut -f 2 -d \')
|
||||||
if [ ! -z "$license" ]; then
|
if [ ! -z "$license" ]; then
|
||||||
v_host='https://vestacp.com/checkout'
|
v_host='https://vestacp.com/checkout'
|
||||||
answer=$(curl --max-time 10 -s "$v_host/check.php?licence_key=$license&module=$module")
|
answer=$(curl --max-time 60 -s "$v_host/check.php?licence_key=$license&module=$module")
|
||||||
check_result $? "cant' connect to vestacp.com " 0
|
check_result $? "cant' connect to vestacp.com " 0
|
||||||
echo "$module $license $answer"
|
echo "$module $license $answer"
|
||||||
if [[ "$answer" != '0' ]]; then
|
if [[ "$answer" != '0' ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue