Projet

Général

Profil

Paste
Télécharger (417 octets) Statistiques
| Branche: | Révision:

root / drupal7 / xmlrpc.php @ 40dfeef4

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