git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP - more fixes
[plcapi.git]
/
demo
/
server
/
server.php
diff --git
a/demo/server/server.php
b/demo/server/server.php
index
853dc4b
..
2d37e80
100644
(file)
--- a/
demo/server/server.php
+++ b/
demo/server/server.php
@@
-17,9
+17,11
@@
if ($_SERVER['REQUEST_METHOD'] != 'POST' && isset($_GET['showSource']))
die();
}
die();
}
- include("xmlrpc.inc");
- include("xmlrpcs.inc");
- include("xmlrpc_wrappers.inc");
+ include_once(__DIR__."/../../vendor/autoload.php");
+
+ include_once(__DIR__."/../../lib/xmlrpc.inc");
+ include_once(__DIR__."/../../lib/xmlrpcs.inc");
+ include_once(__DIR__."/../../lib/xmlrpc_wrappers.inc");
/**
* Used to test usage of object methods in dispatch maps and in wrapper code
/**
* Used to test usage of object methods in dispatch maps and in wrapper code
@@
-238,7
+240,7
@@
in an alphabetic order.';
$a=str_replace("-", "", $a);
$b=str_replace("-", "", $b);
$a=str_replace("-", "", $a);
$b=str_replace("-", "", $b);
- if ($agesorter_arr[$a]==$agesorter[$b])
+ if ($agesorter_arr[$a]==$agesorter
_arr
[$b])
{
return 0;
}
{
return 0;
}