Showing with 2 additions and 1 deletion.
  1. +1 −0 inc/load.php
  2. +1 −1 lib/exe/xmlrpc.php
@@ -68,6 +68,7 @@ function load_autoload($name){
'FeedParser' => DOKU_INC.'inc/FeedParser.php',
'IXR_Server' => DOKU_INC.'inc/IXR_Library.php',
'IXR_Client' => DOKU_INC.'inc/IXR_Library.php',
'IXR_Error' => DOKU_INC.'inc/IXR_Library.php',
'IXR_IntrospectionServer' => DOKU_INC.'inc/IXR_Library.php',
'Doku_Plugin_Controller'=> DOKU_INC.'inc/plugincontroller.class.php',
'Tar' => DOKU_INC.'inc/Tar.class.php',
@@ -4,7 +4,7 @@
require_once(DOKU_INC.'inc/init.php');
session_write_close(); //close session

if(!$conf['remote']) die('XML-RPC server not enabled.');
if(!$conf['remote']) die((new IXR_Error(-32605, "XML-RPC server not enabled."))->getXml());

/**
* Contains needed wrapper functions and registers all available