config : if the default array "not configured" is not found, do not test the value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2653 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -106,8 +106,7 @@ class config
|
||||
if (is_array ($val))
|
||||
{
|
||||
if (! isset ($this->default[$param]["not configured"]))
|
||||
throw new \Exception ("Invalid config provided : array provided ".
|
||||
"without default values", 500);
|
||||
continue;
|
||||
foreach ($this->default[$param]["not configured"] as $k=>$v)
|
||||
{
|
||||
if (! array_key_exists ($k, $conf[$param][$key]))
|
||||
|
||||
Reference in New Issue
Block a user