summaryrefslogtreecommitdiff
path: root/xmlrpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'xmlrpc.php')
-rw-r--r--xmlrpc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlrpc.php b/xmlrpc.php
index 55ac6f110..4b6b1153f 100644
--- a/xmlrpc.php
+++ b/xmlrpc.php
@@ -9,7 +9,7 @@
/**
* Root directory of Drupal installation.
*/
-define('DRUPAL_ROOT', dirname(realpath(__FILE__)));
+define('DRUPAL_ROOT', getcwd());
include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);