Skip to content

Commit d175a32

Browse files
authored
Merge pull request #75 from attrib/upgrade_status_3050653
Fixes Drupal core can't be find by DrupalTestBot
2 parents 9ae027f + 28cf1cb commit d175a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/DrupalExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function loadConfiguration(): void
6666
if ($config['drupal_root'] !== '' && realpath($config['drupal_root']) !== false && is_dir($config['drupal_root'])) {
6767
$start_path = $config['drupal_root'];
6868
} else {
69-
$start_path = dirname($GLOBALS['autoloaderInWorkingDirectory'], 2);
69+
$start_path = dirname($GLOBALS['autoloaderInWorkingDirectory']);
7070
}
7171

7272
$finder->locateRoot($start_path);

0 commit comments

Comments
 (0)