Skip to content

Commit

Permalink
Update xmlrpc.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
alright committed Dec 5, 2017
1 parent ea5426f commit a543819
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/xmlrpc-3.0/lib/xmlrpc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
// OF THE POSSIBILITY OF SUCH DAMAGE.

$GLOBALS['xmlrpcName'] = 'Infusionsoft PHP iSDK 1.29.x '
. (array_key_exists('SERVER_NAME', $_SERVER) ? $_SERVER['SERVER_NAME'] : htmlentities(php_uname('n')))
. $_SERVER['PHP_SELF'];
$GLOBALS['xmlrpcName'] = 'Infusionsoft PHP iSDK 1.29.x '
. (array_key_exists('SERVER_NAME', $_SERVER) ? $_SERVER['SERVER_NAME'] : htmlentities(php_uname('n')))
. $_SERVER['PHP_SELF'];
$GLOBALS['xmlrpcVersion'] = '3.0.0.beta';

if (!function_exists('xml_parser_create')) {
Expand Down Expand Up @@ -805,7 +805,7 @@ class xmlrpc_client
* @param integer $port the port the server is listening on, defaults to 80 or 443 depending on protocol used
* @param string $method the http protocol variant: defaults to 'http', 'https' and 'http11' can be used if CURL is installed
*/
function xmlrpc_client($path, $server = '', $port = '', $method = '')
function __construct($path, $server = '', $port = '', $method = '')
{
// allow user to specify all params in $path
if ($server == '' and $port == '' and $method == '') {
Expand Down Expand Up @@ -3325,4 +3325,4 @@ function is_valid_charset($encoding, $validlist)
}
}

?>
?>

0 comments on commit a543819

Please sign in to comment.