summaryrefslogtreecommitdiff
path: root/xmlrpc.php
blob: 7bc237d4081a265ffe8d1745790417c8ee5a4da8 (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);

?>