A bit cleaning logic
This commit is contained in:
parent
b9b5cbe136
commit
9a765523c0
|
@ -92,10 +92,6 @@ function flt_class($val, $name, $struct, $args)
|
|||
|
||||
if($conf_class != $args[0] && !is_subclass_of($conf_class, $args[0]))
|
||||
throw new Exception($val.". Config class is \"".$conf_class."\". Must be \"".$args[0]."\" or it's child");
|
||||
else
|
||||
return $val;
|
||||
|
||||
throw new Exception($val.". Config class is not found in '$conf_path'");
|
||||
}
|
||||
|
||||
return $val;
|
||||
|
|
Loading…
Reference in New Issue