From a3bb66e4e81817737ce02ce8f3d0cff5c32fdae9 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 20 Sep 2008 20:22:25 +0000 Subject: #259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths. --- scripts/run-tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/run-tests.sh') diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index af57336db..19527e44a 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -245,7 +245,8 @@ function simpletest_script_init() { $_SERVER['HTTP_USER_AGENT'] = 'Drupal command line'; chdir(realpath(dirname(__FILE__) . '/..')); - require_once './includes/bootstrap.inc'; + define('DRUPAL_ROOT', getcwd()); + require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; } /** -- cgit v1.2.3