[fix] bad detection of favicon url
This commit is contained in:
parent
f0bec991d0
commit
086adcd4a9
1 changed files with 1 additions and 0 deletions
|
@ -2112,6 +2112,7 @@ function returnFavicon($url){
|
|||
require_once 'inc/DataAccess.php';
|
||||
require_once 'inc/Favicon.php';
|
||||
$favicon = new \Favicon\Favicon();
|
||||
$favicon->cache(array('dir'=>'cache'));
|
||||
$urlOfFavicon = $favicon->get($url);
|
||||
if(!$urlOfFavicon){
|
||||
if($GLOBALS['config']['ENABLE_LOCALCACHE'] === true){
|
||||
|
|
Loading…
Reference in a new issue