Changeset 88650 in spip-zone


Ignore:
Timestamp:
Apr 17, 2015, 8:17:47 AM (5 years ago)
Author:
gilles.vincent@…
Message:

pouvoir recuperer un flux d'un site en sous-domaine qui ne soit pas saisi en http://

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/sites/inc/feedfinder.php

    r84542 r88650  
    114114        global $verif_complete;
    115115        //j'ai prevenu ce sera pas fin
    116         if (!preg_match("/^http:\/\/.*/", $url)) $url = "http://www." . $url;
     116        if (!preg_match("/^http:\/\/.*/", $url)) $url = "http://" . $url;
    117117        if (!$buffer) $buffer = @file_get_contents($url);
    118118
Note: See TracChangeset for help on using the changeset viewer.