Skip to content

Commit 5962442

Browse files
committed
[config] fixed exception message, if local and master config is not exist
1 parent ad4330b commit 5962442

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

library/config/io/reader/PhpFileReader.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,10 @@ function (&$v) {
103103
$this->mergeConfig($config, $localSource);
104104
} elseif (!$masterConfigExists) {
105105
throw new RuntimeException($this->translate(
106-
'Master configuration file "{file}" not found.',
106+
'Master configuration file "{master}" or local configuration file "{local}" is not found.',
107107
[
108-
'file' => $masterFilename
108+
'master' => $masterFilename,
109+
'local' => $localFilename
109110
]
110111
));
111112
}

0 commit comments

Comments
 (0)