Changeset 88565 in spip-zone for _plugins_/gravatar


Ignore:
Timestamp:
Apr 11, 2015, 7:22:56 AM (5 years ago)
Author:
cedric@…
Message:

ne pas fallbacker sur fopen quand le connexion echoue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/gravatar/gravatar_fonctions.php

    r88564 r88565  
    262262
    263263        // recuperation OK ?
     264        $GLOBALS['inc_distant_allow_fopen'] = false; // pas de fallback sur fopen si on est bloque par gravatar.com
    264265        $gravatar_bin = recuperer_page($url_gravatar);
     266        unset($GLOBALS['inc_distant_allow_fopen']);
    265267        $dt = spip_timer('gravatar', true);
    266268        if ($gravatar_bin){
Note: See TracChangeset for help on using the changeset viewer.