mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Preventing fatal errors from libraries getting included more than once. Please remember to use require_once !
This commit is contained in:
parent
1ecea97679
commit
3ccbb6eb9d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user