summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/system.module2
-rw-r--r--modules/system/system.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/system.module b/modules/system.module
index 08b40091d..8f2907882 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -673,7 +673,7 @@ function system_default_region($theme) {
* An array of file objects of the specified type.
*/
function system_listing($mask, $directory, $key = 'name', $min_depth = 1) {
- $config = conf_init();
+ $config = conf_path();
$searchdir = array($directory);
$files = array();
diff --git a/modules/system/system.module b/modules/system/system.module
index 08b40091d..8f2907882 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -673,7 +673,7 @@ function system_default_region($theme) {
* An array of file objects of the specified type.
*/
function system_listing($mask, $directory, $key = 'name', $min_depth = 1) {
- $config = conf_init();
+ $config = conf_path();
$searchdir = array($directory);
$files = array();