Skip to content

Commit

Permalink
Altera as classes do soapServer
Browse files Browse the repository at this point in the history
  • Loading branch information
dschaulet committed Jan 15, 2018
1 parent c49d522 commit d276f09
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/nusoap.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
namespace Nusoap;
/*
$Id: nusoap.php,v 1.123 2010/04/26 20:15:08 snichol Exp $
Expand Down Expand Up @@ -3471,7 +3470,7 @@ function getCookiesForRequest($cookies, $secure=false) {
* @version $Id: nusoap.php,v 1.123 2010/04/26 20:15:08 snichol Exp $
* @access public
*/
class nusoapServer extends nusoap_base {
class nusoap_server extends nusoap_base {
/**
* HTTP headers of request
* @var array
Expand Down Expand Up @@ -3628,7 +3627,7 @@ class nusoapServer extends nusoap_base {
* @param mixed $wsdl file path or URL (string), or wsdl instance (object)
* @access public
*/
function nusoapServer($wsdl=false){
function nusoap_server($wsdl=false){
parent::nusoap_base();
// turn on debugging?
global $debug;
Expand Down Expand Up @@ -4578,8 +4577,7 @@ function configureWSDL($serviceName,$namespace = false,$endpoint = false,$style=
/**
* Backward compatibility
*/
class soap_server extends nusoapServer {
}


?><?php

Expand Down
8 changes: 8 additions & 0 deletions src/soapServer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
namespace Nusoap;

include('nusoap.php');

class soapServer extends nusoap_server {
}
?>

0 comments on commit d276f09

Please sign in to comment.