Corrected a few lines of code in regards to missing variable definitions
This commit is contained in:
parent
8835ad9702
commit
b26d818d6b
2 changed files with 5 additions and 2 deletions
|
@ -61,7 +61,7 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
Log::warning('net.nosial.configlib', sprintf('Environment variable "%s" points to a non-existent file, resorting to default/builtin configuration', $environment_config));
|
||||
Log::warning('net.nosial.configlib', sprintf('Environment variable "%s" points to a non-existent file, resorting to default/builtin configuration', $env));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -336,7 +336,7 @@
|
|||
|
||||
if(!$fs->exists($this->path))
|
||||
{
|
||||
throw new RuntimeException(sprintf('Unable to import configuration file "%s" from environment, file does not exist', $path));
|
||||
throw new RuntimeException(sprintf('Unable to import configuration file "%s" from environment, file does not exist', $this->path));
|
||||
}
|
||||
|
||||
$yaml = file_get_contents($this->path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue