Ajout debiggage

This commit is contained in:
Rodolphe Quiedeville 2005-11-02 09:04:06 +00:00
parent 7317f468db
commit c37c9f2dd9

View File

@ -142,6 +142,9 @@ function CreatePreselection($host, $user_login, $user_passwd, $ligne, $id_person
$url .= "&okCollecte=true";
$url .= "&okPreselection=true";
if ($verbose > 2)
dolibarr_syslog("$host");
if ($verbose > 2)
dolibarr_syslog("$url");
@ -152,6 +155,9 @@ function CreatePreselection($host, $user_login, $user_passwd, $ligne, $id_person
}
else
{
if ($verbose > 2)
dolibarr_syslog("Socket Opened send data");
$out = "GET $url HTTP/1.1\r\n";
$out .= "Host: $host\r\n";
$out .= "Connection: Close\r\n\r\n";