1
0

add reading history to /about
Some checks failed
Build Docker and Deploy / Build Docker (push) Failing after 37s
Build Docker and Deploy / Deploy to Server (push) Has been skipped

This commit is contained in:
2026-02-07 22:37:18 +01:00
parent fcc10e1d70
commit 925960eb39
24 changed files with 662 additions and 164 deletions

View File

@@ -292,9 +292,11 @@ 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];
if (!function_exists('array_last')) {
function array_last(array $arr)
{
return $arr[count($arr)-1];
}
}
function explode_allow_empty(string $separator, string $str): array {