Updated Uiharu to latest Index + use CacheProvider for caching results.
This commit is contained in:
parent
c581646f23
commit
26431aeb79
13 changed files with 827 additions and 151 deletions
public
|
@ -3,9 +3,6 @@ namespace Uiharu;
|
|||
|
||||
require_once __DIR__ . '/../uiharu.php';
|
||||
|
||||
// should be in a cron job
|
||||
$db->execute('DELETE FROM `uih_metadata_cache` WHERE `metadata_created` < NOW() - INTERVAL 7 DAY');
|
||||
|
||||
$ctx->registerLookup(new \Uiharu\Lookup\EEPROMLookup('eeprom', 'eeprom.flashii.net', ['i.fii.moe', 'i.flashii.net']));
|
||||
if(UIH_DEBUG)
|
||||
$ctx->registerLookup(new \Uiharu\Lookup\EEPROMLookup('devrom', 'eeprom.edgii.net', ['i.edgii.net']));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue