diff --git a/core/scripts/password-hash.sh b/core/scripts/password-hash.sh index 66fcb2655e8..8109af4ce21 100755 --- a/core/scripts/password-hash.sh +++ b/core/scripts/password-hash.sh @@ -78,7 +78,7 @@ while ($param = array_shift($_SERVER['argv'])) { } } -chdir('../..'); +chdir('..'); define('DRUPAL_ROOT', getcwd()); include_once DRUPAL_ROOT . '/core/includes/password.inc';