more dynamic header
This commit is contained in:
@@ -283,4 +283,8 @@ function curl_http_request($url)
|
||||
return [ 'output'=>$output, 'statuscode'=>$httpcode, 'redirect'=>$redirect, 'errnum'=>$errnum, 'errstr'=>$errmsg ];
|
||||
}
|
||||
|
||||
function array_last(array $arr)
|
||||
{
|
||||
return $arr[count($arr)-1];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user