xmlrpc.php 303 Bytes
Newer Older
1 2
<?php

3
include_once "includes/xmlrpcs.inc";
4 5 6 7 8 9 10 11 12 13 14 15 16
include_once "includes/common.inc";

$functions = array();

foreach (module_list() as $name) {
  if (module_hook($name, "xmlrpc")) {
    $functions = array_merge($functions, module_invoke($name, "xmlrpc"));
  }
}

$server = new xmlrpc_server($functions);

?>