Changes between Version 5 and Version 6 of ExpressoTestCenter/environment


Ignore:
Timestamp:
05/26/10 16:25:46 (14 years ago)
Author:
luiz-fernando
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExpressoTestCenter/environment

    v5 v6  
    208208}}} 
    209209 
    210   4. Editar arquivo /var/www/testlink/third_party/xml-rpc/class-IXR.php e adicionar as linhas em negrito: 
     210  4. Editar arquivo /var/www/testlink/third_party/xml-rpc/class-IXR.php e adicionar as linhas marcadas com "-->": 
    211211 
    212212{{{ 
     
    218218    $xml = $request->getXml(); 
    219219    $r = "\r\n"; 
    220     $credentials = ""; 
    221     if ($this->user != "") { 
    222         $credentials = base64_encode($this->user . ":" . $this->pass); 
    223     } 
     220-->    $credentials = ""; 
     221-->    if ($this->user != "") { 
     222-->        $credentials = base64_encode($this->user . ":" . $this->pass); 
     223-->    } 
    224224    $request = "POST {$this->path} HTTP/1.0$r"; 
    225225    $request .= "Host: {$this->server}$r"; 
    226     if ($credentials != "") { 
    227         $request .= "Authorization: Basic {$credentials}$r"; 
    228     } 
     226-->    if ($credentials != "") { 
     227-->        $request .= "Authorization: Basic {$credentials}$r"; 
     228-->    } 
    229229 
    230230    function IXR_Client($server, $path = false, $port = 80, $timeout = false) { 
     
    234234            $this->server = $bits['host']; 
    235235            $this->port = isset($bits['port']) ? $bits['port'] : 80; 
    236             $this->user = isset($bits['user']) ? $bits['user'] : ''; 
    237             $this->pass = isset($bits['pass']) ? $bits['pass'] : ''; 
     236-->            $this->user = isset($bits['user']) ? $bits['user'] : ''; 
     237-->            $this->pass = isset($bits['pass']) ? $bits['pass'] : ''; 
    238238}}} 
    239239