summaryrefslogtreecommitdiffstats
path: root/xmlrpc.php
diff options
context:
space:
mode:
authorAngie Byron2009-02-08 20:27:51 (GMT)
committerAngie Byron2009-02-08 20:27:51 (GMT)
commitd802c69a43ab0f47e88f8b26ea9f655af1404a5f (patch)
treef82efe031b4b91b06a224677f2941f5005722b11 /xmlrpc.php
parentc51b5c8b0b1663fec1cf2af882b58bbdb46c5a97 (diff)
#363013 by mannkind: Use getwd() rather than realpath(__FILE__) to determine drupal root, so we don't break symlinks.
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 55ac6f1..4b6b115 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);