diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-28 19:14:48 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-28 19:14:48 +0000 |
commit | 9a98523a8060882334f052aa2084826c21ef8db0 (patch) | |
tree | 1cb9cbd2f4108c6e3176dc8eae314cc30921c5c8 /includes | |
parent | fbd6ffbf52fad02951b3f37fd3bf1341f3670830 (diff) | |
download | brdo-9a98523a8060882334f052aa2084826c21ef8db0.tar.gz brdo-9a98523a8060882334f052aa2084826c21ef8db0.tar.bz2 |
#761212 by jbrown: Fixed Always use DRUPAL_ROOT instead of getcwd()
Diffstat (limited to 'includes')
-rw-r--r-- | includes/bootstrap.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index be0a471eb..8fe5beae5 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -3057,7 +3057,7 @@ function &drupal_register_shutdown_function($callback = NULL) { $args = func_get_args(); array_shift($args); // Save callback and arguments - $callbacks[] = array('callback' => $callback, 'arguments' => $args, 'cwd' => getcwd()); + $callbacks[] = array('callback' => $callback, 'arguments' => $args, 'cwd' => DRUPAL_ROOT); } return $callbacks; } |