summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/Config/FileStorage.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib/Drupal/Core/Config/FileStorage.php')
-rw-r--r--core/lib/Drupal/Core/Config/FileStorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Config/FileStorage.php b/core/lib/Drupal/Core/Config/FileStorage.php
index 2ac9cee..52c9aa5 100644
--- a/core/lib/Drupal/Core/Config/FileStorage.php
+++ b/core/lib/Drupal/Core/Config/FileStorage.php
@@ -204,7 +204,7 @@ class FileStorage implements StorageInterface {
throw new StorageException($this->directory . '/ not found.');
}
$extension = '.' . static::getFileExtension();
- $files = new \GlobIterator($this->directory . '/' . $prefix . '*' . $extension);
+ $files = new \GlobIterator(DRUPAL_ROOT . '/' . $this->directory . '/' . $prefix . '*' . $extension);
$names = array();
foreach ($files as $file) {