summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/Config/InstallStorage.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib/Drupal/Core/Config/InstallStorage.php')
-rw-r--r--core/lib/Drupal/Core/Config/InstallStorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Config/InstallStorage.php b/core/lib/Drupal/Core/Config/InstallStorage.php
index 20d20fc..16bcc1c 100644
--- a/core/lib/Drupal/Core/Config/InstallStorage.php
+++ b/core/lib/Drupal/Core/Config/InstallStorage.php
@@ -134,7 +134,7 @@ class InstallStorage extends FileStorage {
foreach ($list as $name) {
$directory = $this->getComponentFolder($type, $name);
if (file_exists($directory)) {
- $files = new \GlobIterator($directory . '/*' . $extension);
+ $files = new \GlobIterator(DRUPAL_ROOT . '/' . $directory . '/*' . $extension);
foreach ($files as $file) {
$folders[$file->getBasename($extension)] = $directory;
}