Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 533 Bytes
<?php
// $Id: xmlrpc.php,v 1.19 2009-12-13 13:06:45 dries Exp $
/**
* @file
* PHP page for handling incoming XML-RPC requests from clients.
*/
/**
* Root directory of Drupal installation.
*/
define('DRUPAL_ROOT', getcwd());
include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
include_once DRUPAL_ROOT . '/includes/xmlrpc.inc';
include_once DRUPAL_ROOT . '/includes/xmlrpcs.inc';
$services = module_invoke_all('xmlrpc');
drupal_alter('xmlrpc', $services);
xmlrpc_server($services);