Skip to content

Commit e8a0514

Browse files
committed
merge up.
1 parent ac246e3 commit e8a0514

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Bootstrap.php

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ class Bootstrap extends AutoloadBootstrap
2121
*/
2222
public function __construct(array $values = array())
2323
{
24+
// If this bootstrap object is used in a service, bootstrap.inc may
25+
// not have been included yet. If the file is not included, the
26+
// Drupal bootstrap constants are not available.
27+
require_once $values['DRUPAL_ROOT'] .'/includes/bootstrap.inc';
28+
2429
parent::__construct($values);
2530

2631
/**

0 commit comments

Comments
 (0)