|
|
@@ -14,6 +14,7 @@ function download_favicon($website, $dest) {
|
|
|
$favicon_getter = new \Favicon\Favicon();
|
|
|
$tmpPath = realpath(TMP_PATH);
|
|
|
$favicon_getter->setCacheDir($tmpPath);
|
|
|
+ $favicon_getter->setCacheTimeout(-1);
|
|
|
$favicon_path = $favicon_getter->get($website, \Favicon\FaviconDLType::DL_FILE_PATH);
|
|
|
|
|
|
return ($favicon_path != false && @rename($tmpPath . '/' . $favicon_path, $dest)) ||
|