Preventing fatal errors from libraries getting included more than once. Please remember to use require_once !
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
Testing web service...
|
||||
<BR>
|
||||
<?php
|
||||
require("../../config.php");
|
||||
require($CFG->dirroot.'/lib/nusoap/nusoap.php');
|
||||
require_once("../../config.php");
|
||||
require_once($CFG->dirroot.'/lib/nusoap/nusoap.php');
|
||||
|
||||
$wsdl = "http://137.111.229.11:8080/lams/services/UserManagementService?wsdl";
|
||||
$s = new soapclient($wsdl,true,false,false,false,false,2,3);
|
||||
|
||||
Reference in New Issue
Block a user