xmlrpc.php 417 Bytes
Newer Older
1 2
<?php

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

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

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

18
xmlrpc_server(module_invoke_all('xmlrpc'));