xmlrpc.php

  1. 7.x drupal-7.x/xmlrpc.php
  2. 6.x drupal-6.x/xmlrpc.php

PHP page for handling incoming XML-RPC requests from clients.

File

drupal-7.x/xmlrpc.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * PHP page for handling incoming XML-RPC requests from clients.
  5. */
  6. /**
  7. * Root directory of Drupal installation.
  8. */
  9. define('DRUPAL_ROOT', getcwd());
  10. include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
  11. drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
  12. include_once DRUPAL_ROOT . '/includes/xmlrpc.inc';
  13. include_once DRUPAL_ROOT . '/includes/xmlrpcs.inc';
  14. xmlrpc_server(module_invoke_all('xmlrpc'));