Changeset 66667 in spip-zone
- Timestamp:
- Oct 10, 2012, 2:50:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_dev_/univers_spip/inc/univers_analyser.php
r42381 r66667 60 60 // if a cookie set, accept it an retry with it 61 61 if (preg_match(",Set-Cookie: (.*)(;.*)?$,Uims",$header,$r)) { 62 $cookie .= $r[1].";"; 63 return univers_recuperer_lapage($url,$cookie); 62 //ne pas relancer si le cookie est déjà présent 63 if (strpos($cookie,$r[1])===FALSE ) { 64 $cookie .= $r[1] . ";"; 65 spip_log("Cookie : $cookie on repart pour un tour ", "univers_check"); 66 return univers_recuperer_lapage($url, $cookie); 67 } 64 68 } 65 69 return $site;
Note: See TracChangeset
for help on using the changeset viewer.