Mercurial > hg > rr-repo
comparison xmlrpc.php @ 0:ff03f76ab3fe
initial version
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Wed, 21 Aug 2013 18:51:11 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ff03f76ab3fe |
---|---|
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')); |