2001-09-09 16:47:10 +00:00
|
|
|
<?php
|
2001-10-20 20:45:05 +00:00
|
|
|
// $Id$
|
2001-09-09 16:47:10 +00:00
|
|
|
|
2004-08-21 06:42:38 +00:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* PHP page for handling incoming XML-RPC requests from clients.
|
|
|
|
*/
|
|
|
|
|
2008-09-20 20:22:25 +00:00
|
|
|
/**
|
|
|
|
* Root directory of Drupal installation.
|
|
|
|
*/
|
2009-02-08 20:27:51 +00:00
|
|
|
define('DRUPAL_ROOT', getcwd());
|
2008-09-20 20:22:25 +00:00
|
|
|
|
|
|
|
include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
|
2005-07-23 05:57:27 +00:00
|
|
|
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
|
2008-09-20 20:22:25 +00:00
|
|
|
include_once DRUPAL_ROOT . '/includes/xmlrpc.inc';
|
|
|
|
include_once DRUPAL_ROOT . '/includes/xmlrpcs.inc';
|
2001-09-09 16:47:10 +00:00
|
|
|
|
2009-12-12 19:20:52 +00:00
|
|
|
$services = module_invoke_all('xmlrpc');
|
2009-12-13 13:06:45 +00:00
|
|
|
drupal_alter('xmlrpc', $services);
|
2009-12-12 19:20:52 +00:00
|
|
|
xmlrpc_server($services);
|