xmlrpc.php 417 B

123456789101112131415161718
  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'));