<body>
<?php
- include(dirname(__FILE__).'/common.php');
+ include(__DIR__.'/common.php');
if ($action)
{
switch ($action) {
case 'wrap':
- @include('xmlrpc_wrappers.inc');
+ @include('xmlrpc_wrappers.php');
if (!function_exists('build_remote_method_wrapper_code'))
{
- die('Error: to enable creation of method stubs the xmlrpc_wrappers.inc file is needed');
+ die('Error: to enable creation of method stubs the xmlrpc_wrappers.php file is needed');
}
// fall thru intentionally
case 'describe':
* @todo add http no-cache headers
**/
- include(dirname(__FILE__).'/common.php');
+ include(__DIR__.'/common.php');
if ($action == '')
$action = 'list';
</h3>
<?php
include("xmlrpc.inc");
- include("xmlrpc_wrappers.inc");
+ include("xmlrpc_wrappers.php");
$c = new xmlrpc_client("/server.php", "phpxmlrpc.sourceforge.net", 80);
$c->return_type = 'phpvals'; // let client give us back php values instead of xmlrpcvals
include("xmlrpc.inc");
include("xmlrpcs.inc");
- include("xmlrpc_wrappers.inc");
+ include("xmlrpc_wrappers.php");
/**
* Used to test usage of object methods in dispatch maps and in wrapper code
<para>The <function>wrap_php_function</function> and
<function>wrap_xmlrpc_method</function> functions have been moved
out of the base library file <filename>xmlrpc.inc</filename> into
- a file of their own: <filename>xmlrpc_wrappers.inc</filename>. You
+ a file of their own: <filename>xmlrpc_wrappers.php</filename>. You
will have to include() / require() it in your scripts if you have
been using those functions. For increased security, the automatic
rebuilding of php object instances out of received xmlrpc structs
</glossentry>
<glossentry>
- <glossterm>lib/xmlrpc_wrappers.inc</glossterm>
+ <glossterm>lib/xmlrpc_wrappers.php</glossterm>
<glossdef>
<para>helper functions to "automagically" convert plain php