Fix misspelled config item (cachdir) in Site.php

This commit is contained in:
Dale Davies
2022-02-12 23:00:03 +00:00
parent 0071f13b0f
commit 85b0ee51cd

View File

@@ -32,7 +32,7 @@ class Site {
if ($icon === null) {
$favicon = new \Favicon\Favicon();
$favicon->cache([
'dir' => $this->config->get('cachdir').'/icons/',
'dir' => $this->config->get('cachedir').'/icons/',
'timeout' => 86400
]);
$rawimage = $favicon->get($this->url, \Favicon\FaviconDLType::RAW_IMAGE);