Introduce __DIR__; some CRLF -> LF; wrappers file has been renamed
authorgggeek <giunta.gaetano@gmail.com>
Wed, 10 Dec 2014 00:48:36 +0000 (00:48 +0000)
committergggeek <giunta.gaetano@gmail.com>
Wed, 10 Dec 2014 00:48:36 +0000 (00:48 +0000)
debugger/action.php
debugger/controller.php
demo/client/wrap.php
demo/server/server.php
doc/xmlrpc_php.xml

index f79aba0..f56946c 100644 (file)
@@ -36,7 +36,7 @@ td form {margin: 0;}
 <body>
 <?php
 
-  include(dirname(__FILE__).'/common.php');
+  include(__DIR__.'/common.php');
   if ($action)
   {
 
@@ -149,10 +149,10 @@ td form {margin: 0;}
     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':
index 438f2a4..965b2ef 100644 (file)
@@ -13,7 +13,7 @@
  * @todo add http no-cache headers
  **/
 
-  include(dirname(__FILE__).'/common.php');
+  include(__DIR__.'/common.php');
   if ($action == '')
     $action = 'list';
 
index 8ec452c..faae4bf 100644 (file)
@@ -9,7 +9,7 @@
 </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
index 853dc4b..d17f73c 100644 (file)
@@ -19,7 +19,7 @@ if ($_SERVER['REQUEST_METHOD'] != 'POST' && isset($_GET['showSource']))
 
     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
index e6c927f..d9fff5f 100644 (file)
@@ -486,7 +486,7 @@ PHP-XMLRPC User manual
             <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
@@ -913,7 +913,7 @@ PHP-XMLRPC User manual
       </glossentry>
 
       <glossentry>
-        <glossterm>lib/xmlrpc_wrappers.inc</glossterm>
+        <glossterm>lib/xmlrpc_wrappers.php</glossterm>
 
         <glossdef>
           <para>helper functions to "automagically" convert plain php