Implemented IMPORTANT: Get rid of hard coded links in PHP listener

Freelancer

Active Member
I know it is not a bug but it is a real problem.

In "listener.php" you have implemented the following call:

Code:
$containerData['head'] = array_merge($containerData['head'], array(
                'fontAwesome' => '<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css?_v='. $versionString .'" rel="stylesheet">'
            ));

FontAwesome abandons OLD VERSIONS and their access do timeout sometimes – which means every time the forum loads it TIMES OUT infinitely and the page does not load at all, while XF tries to fetch the link that is actually not available...

To avoid that problem in the future PLEASE: Remove that link entirely and paste it into a real Template (no modification please) – so that anyone is able to <xen:comment> it out or change and update the link to the newest version of FontAwesome...

Thanx!
 
In 2.4.: I don't think that it is need anymore because I move to material icons :)
 
Back
Top