forked from uup-dump/api
Save date of fetching build to fileinfo database
This commit is contained in:
2
get.php
2
get.php
@ -222,7 +222,7 @@ function uupGetFiles(
|
||||
}
|
||||
|
||||
function uupGetOnlineFiles($updateId, $rev, $info, $cacheRequests) {
|
||||
$cacheHash = hash('sha1', strtolower("api-get-${updateId}_rev.$rev"));
|
||||
$cacheHash = hash('sha256', strtolower("api-get-${updateId}_rev.$rev"));
|
||||
$cached = 0;
|
||||
|
||||
if(file_exists('cache/'.$cacheHash.'.json.gz') && $cacheRequests == 1) {
|
||||
|
Reference in New Issue
Block a user