From d802c69a43ab0f47e88f8b26ea9f655af1404a5f Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 8 Feb 2009 20:27:51 +0000 Subject: #363013 by mannkind: Use getwd() rather than realpath(__FILE__) to determine drupal root, so we don't break symlinks. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index d776d767a..f83ae4c01 100644 --- a/index.php +++ b/index.php @@ -15,7 +15,7 @@ /** * Root directory of Drupal installation. */ -define('DRUPAL_ROOT', dirname(realpath(__FILE__))); +define('DRUPAL_ROOT', getcwd()); require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); -- cgit v1.2.3