/[drupal]/drupal/xmlrpc.php
ViewVC logotype

Contents of /drupal/xmlrpc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.17 - (show annotations) (download) (as text)
Sun Feb 8 20:27:51 2009 UTC (9 months, 2 weeks ago) by webchick
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-8, DRUPAL-7-0-UNSTABLE-9, DRUPAL-7-0-UNSTABLE-5, DRUPAL-7-0-UNSTABLE-6, DRUPAL-7-0-UNSTABLE-7, DRUPAL-7-0-UNSTABLE-10, HEAD
Changes since 1.16: +2 -2 lines
File MIME type: text/x-php
#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