changeset 541 | e756a8c72c3d |
540:07239de796bb | 541:e756a8c72c3d |
---|---|
1 <?php |
|
2 |
|
3 /** |
|
4 * @file |
|
5 * PHP page for handling incoming XML-RPC requests from clients. |
|
6 */ |
|
7 |
|
8 /** |
|
9 * Root directory of Drupal installation. |
|
10 */ |
|
11 define('DRUPAL_ROOT', getcwd()); |
|
12 |
|
13 include_once DRUPAL_ROOT . '/includes/bootstrap.inc'; |
|
14 drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); |
|
15 include_once DRUPAL_ROOT . '/includes/xmlrpc.inc'; |
|
16 include_once DRUPAL_ROOT . '/includes/xmlrpcs.inc'; |
|
17 |
|
18 xmlrpc_server(module_invoke_all('xmlrpc')); |