|
|
@ -199,9 +199,10 @@ final class Config {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (strtoupper($value) == 'YES') { # YES
|
|
|
|
$value = strtoupper($value);
|
|
|
|
|
|
|
|
if ($value == 'YES' || $value == 'TRUE') { # YES
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
} elseif (strtoupper($value) == 'NO') { # NO
|
|
|
|
} elseif ($value == 'NO' || $value == 'FALSE') { # NO
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
} else { # unknown value
|
|
|
|
} else { # unknown value
|
|
|
|
# show and log error message on unknown value
|
|
|
|
# show and log error message on unknown value
|
|
|
|