xmlrpc.php 425 Bytes
Newer Older
1
<?php
2
// $Id$
3

4 5 6 7 8
/**
 * @file
 * PHP page for handling incoming XML-RPC requests from clients.
 */

9 10 11
/**
 * Root directory of Drupal installation.
 */
12
define('DRUPAL_ROOT', getcwd());
13 14

include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
15
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
16 17
include_once DRUPAL_ROOT . '/includes/xmlrpc.inc';
include_once DRUPAL_ROOT . '/includes/xmlrpcs.inc';
18

19
xmlrpc_server(module_invoke_all('xmlrpc'));