an else statement in fontsquirrel_fontyourface_import would be handy

if ($api_result->code == '200') {
// code
}
else {
// the api could not connect prolly due to a proxy server setting
// no files could be downloaded and that's why it still says zero fontsquirrel fonts
// we get: code = -61 error = Connection refused
}

Comments

sreynen’s picture

Version: 6.x-2.0 » 7.x-1.x-dev
Status: Active » Patch (to be ported)

Committed in the D7 version. Needs porting to the D6 version.

sreynen’s picture

Version: 7.x-1.x-dev » 6.x-2.x-dev
Neslee Canil Pinto’s picture

Component: Code » Code (general)
Issue summary: View changes
Status: Patch (to be ported) » Closed (outdated)