Skip to content
Snippets Groups Projects
Commit b6df1c45 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Allow enable_tls == false

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1168 44740490-163a-0410-bde0-09ae8108e29a
parent a25f7374
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ function checkConfig($conf, $req) { ...@@ -41,7 +41,7 @@ function checkConfig($conf, $req) {
foreach($req AS $r) { foreach($req AS $r) {
if (!array_key_exists($r, $conf)) { if (!array_key_exists($r, $conf)) {
$err[] = $r; $err[] = $r;
} elseif (empty($conf[$r])) { } elseif (empty($conf[$r]) && $conf[$r] !== FALSE) {
$err[] = 'empty:' . $r; $err[] = 'empty:' . $r;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment