mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Convert Object class to BaseObject in core classes
This commit is contained in:
parent
5bdf95932f
commit
1a81fd43f3
16 changed files with 129 additions and 120 deletions
|
|
@ -125,7 +125,7 @@ class XEHttpRequest
|
|||
$sock = @fsockopen($scheme . $this->m_host, $this->m_port, $errno, $errstr, $timeout);
|
||||
if(!$sock)
|
||||
{
|
||||
return new Object(-1, 'socket_connect_failed');
|
||||
return new BaseObject(-1, 'socket_connect_failed');
|
||||
}
|
||||
|
||||
$headers = $this->m_headers + array();
|
||||
|
|
@ -242,7 +242,7 @@ class XEHttpRequest
|
|||
$body = curl_exec($ch);
|
||||
if(curl_errno($ch))
|
||||
{
|
||||
return new Object(-1, 'socket_connect_failed');
|
||||
return new BaseObject(-1, 'socket_connect_failed');
|
||||
}
|
||||
|
||||
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue