Changeset 8284
- Timestamp:
- 2006/11/13 15:40:52 (20 years ago)
- Location:
- temp/trunk/data
- Files:
-
- 2 edited
-
downloads/module/mdl_epsilon/mdl_epsilon.php (modified) (1 diff)
-
module/Net/Socket.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/downloads/module/mdl_epsilon/mdl_epsilon.php
r8233 r8284 184 184 } 185 185 186 // sslÂбþȽÄê 187 if(!extension_loaded('openssl')){ 188 $arrErr["url"] = "¤³¤Î¥µ¡¼¥Ð¡¼¤ÏSSL¤ËÂбþ¤·¤Æ¤¤¤Þ¤»¤ó¡£http¤ÇÀܳ¤·¤Æ¤¯¤À¤µ¤¤¡£"; 189 } 190 191 186 192 // Àܳ¥Á¥§¥Ã¥¯¤ò¹Ô¤¦ 187 193 if(count($arrErr) == 0) $arrErr = lfChkConnect(); -
temp/trunk/data/module/Net/Socket.php
r8275 r8284 449 449 $timeout = time() + $this->timeout; 450 450 451 452 $fp = $this->fp;453 while (($c =@fgets($fp, $this->lineLength))!==false && (!$this->timeout || time() < $timeout)) {454 $line .= $c;455 if (substr($line, -1) == "\n") {456 457 return rtrim($line, "\r\n");458 }459 }460 461 /*462 451 while (!feof($this->fp) && (!$this->timeout || time() < $timeout)) { 463 452 $line .= @fgets($this->fp, $this->lineLength); … … 466 455 } 467 456 } 468 */ 457 469 458 return $line; 470 459 }
Note: See TracChangeset
for help on using the changeset viewer.
