Move Global Functions - Part 3

- Replaced every CACHE definition
- Moved check_url to App->checkURL()
- Removed unused definition "ZCURL_TIMEOUT"
This commit is contained in:
Philipp Holzer
2018-10-20 18:19:55 +02:00
parent ec9f1563f9
commit 4392858662
16 changed files with 43 additions and 70 deletions

View File

@@ -43,7 +43,7 @@ class JsonLD
}
$data = jsonld_default_document_loader($url);
Cache::set('documentLoader:' . $url, $data, CACHE_DAY);
Cache::set('documentLoader:' . $url, $data, Cache::DAY);
return $data;
}