Preventing fatal errors from libraries getting included more than once. Please remember to use require_once !

This commit is contained in:
mjollnir_ 2006-01-13 04:35:21 +00:00
parent 1ecea97679
commit 3ccbb6eb9d

View File

@ -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);