1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Code optimization and cleanup.

This commit is contained in:
Cameron
2020-12-10 15:52:48 -08:00
parent bd3a181e27
commit f605ddc552
39 changed files with 364 additions and 371 deletions

View File

@@ -743,8 +743,8 @@
}
else
{
socket_set_timeout($remote, $timeout);
fputs($remote, "GET " . urlencode($address) . " HTTP/1.0\r\n\r\n");
stream_set_timeout($remote, $timeout);
fwrite($remote, "GET " . urlencode($address) . " HTTP/1.0\r\n\r\n");
}
}
$fileContents = "";