root / drupal7 / xmlrpc.php @ b0dc3a2e
1 | 85ad3d82 | Assos Assos | <?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')); |