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

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);

?>