xmlrpc.php 311 Bytes
Newer Older
1
<?php
2
// $Id$
3

4
include_once "includes/xmlrpcs.inc";
5 6 7 8 9 10 11 12 13 14 15 16 17
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);

?>