Skip to content

Commit

Permalink
Samples: fix require
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Jul 5, 2023
1 parent e1bed4c commit 6659504
Show file tree
Hide file tree
Showing 24 changed files with 25 additions and 28 deletions.
2 changes: 1 addition & 1 deletion samples/client1.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/client2.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/client3.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/getfile1client.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/getfile2client.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
4 changes: 2 additions & 2 deletions samples/mimeclient.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once('../lib/nusoapmime.php');
require_once(__DIR__ . '/../src/nusoap.php');
require_once(__DIR__ . '/../src/nusoapmime.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/sslclient.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: https
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient1.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient10.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient11.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
3 changes: 1 addition & 2 deletions samples/wsdlclient12.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once('../lib/class.wsdlcache.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient13.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
3 changes: 1 addition & 2 deletions samples/wsdlclient14.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once('../lib/class.wsdlcache.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient15.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient2.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient3.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient3b.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient3c.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient4.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
/*
* Grab post vars, if present
*/
Expand Down
3 changes: 1 addition & 2 deletions samples/wsdlclient5.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once('../lib/class.wsdlcache.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient6.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: none
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient7.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: digest
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient8.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: digest
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down
2 changes: 1 addition & 1 deletion samples/wsdlclient9.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Transport: http
* Authentication: digest
*/
require_once('../lib/nusoap.php');
require_once(__DIR__ . '/../src/nusoap.php');
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
Expand Down

0 comments on commit 6659504

Please sign in to comment.