summaryrefslogtreecommitdiff
path: root/xmlrpc.php
blob: e1eda8807f4c4e37a5dc51ee469e32c11285bf17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
// $Id$

include_once "includes/xmlrpcs.inc";
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);

?>