Parent Directory
|
Revision Log
|
Revision Graph
#363013 by mannkind: Use getwd() rather than realpath(__FILE__) to determine drupal root, so we don't break symlinks.
| 1 | <?php |
| 2 | // $Id: xmlrpc.php,v 1.16 2008/09/20 20:22:23 webchick Exp $ |
| 3 | |
| 4 | /** |
| 5 | * @file |
| 6 | * PHP page for handling incoming XML-RPC requests from clients. |
| 7 | */ |
| 8 | |
| 9 | /** |
| 10 | * Root directory of Drupal installation. |
| 11 | */ |
| 12 | define('DRUPAL_ROOT', getcwd()); |
| 13 | |
| 14 | include_once DRUPAL_ROOT . '/includes/bootstrap.inc'; |
| 15 | drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); |
| 16 | include_once DRUPAL_ROOT . '/includes/xmlrpc.inc'; |
| 17 | include_once DRUPAL_ROOT . '/includes/xmlrpcs.inc'; |
| 18 | |
| 19 | xmlrpc_server(module_invoke_all('xmlrpc')); |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |