summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rw-r--r--update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index b45f2045c..215727314 100644
--- a/update.php
+++ b/update.php
@@ -4,7 +4,7 @@
/**
* Root directory of Drupal installation.
*/
-define('DRUPAL_ROOT', dirname(realpath(__FILE__)));
+define('DRUPAL_ROOT', getcwd());
/**
* @file