@@ -97,8 +97,7 @@ |
||
97 | 97 | // does the file exist in the current skin's directory? Has precedence |
98 | 98 | if ($submodule !== '' && file_exists(__DIR__ . "/../../skins/" . $this->skin . "/" . $submodule . $path . $filename)) { |
99 | 99 | $extrapath = "/skins/" . $this->skin . "/" . $submodule; |
100 | - } |
|
101 | - elseif (file_exists(__DIR__ . "/../../skins/" . $this->skin . $path . $filename)) { |
|
100 | + } elseif (file_exists(__DIR__ . "/../../skins/" . $this->skin . $path . $filename)) { |
|
102 | 101 | $extrapath = "/skins/" . $this->skin; |
103 | 102 | } elseif (file_exists(__DIR__ . "/../../" . $path . $filename)) { |
104 | 103 | $extrapath = ""; |
@@ -201,8 +201,7 @@ |
||
201 | 201 | |
202 | 202 | if ($this->selectedEap == \core\common\EAP::EAPTYPE_TLS && isset($this->attributes['eap-specific:tls_use_other_id']) && $this->attributes['eap-specific:tls_use_other_id'][0] == 'on') { |
203 | 203 | $configRaw['use_other_tls_id'] = "True"; |
204 | - } |
|
205 | - else { |
|
204 | + } else { |
|
206 | 205 | $configRaw['use_other_tls_id'] = "False"; |
207 | 206 | } |
208 | 207 |