@@ -97,7 +97,7 @@ |
||
| 97 | 97 | <?php include '/etc/grommunio-web/disclaimer.html'; ?> |
| 98 | 98 | </div> |
| 99 | 99 | <?php } |
| 100 | - elseif (file_exists('disclaimer.html')) { ?> |
|
| 100 | +elseif (file_exists('disclaimer.html')) { ?> |
|
| 101 | 101 | <div class="disclaimer"> |
| 102 | 102 | <?php include 'disclaimer.html'; ?> |
| 103 | 103 | </div> |
@@ -84,14 +84,14 @@ |
||
| 84 | 84 | * @var string Server base URL |
| 85 | 85 | */ |
| 86 | 86 | private $baseurl, /** |
| 87 | - * @var string Username |
|
| 88 | - */ |
|
| 87 | + * @var string Username |
|
| 88 | + */ |
|
| 89 | 89 | private $user, /** |
| 90 | - * @var string Password |
|
| 91 | - */ |
|
| 90 | + * @var string Password |
|
| 91 | + */ |
|
| 92 | 92 | private $pass, /** |
| 93 | - * @var bool Allow self signed certs |
|
| 94 | - */ |
|
| 93 | + * @var bool Allow self signed certs |
|
| 94 | + */ |
|
| 95 | 95 | private $allowSelfSignedCerts = false |
| 96 | 96 | ) { |
| 97 | 97 | // check if curl is available |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | if ($data === CHANGE_PASSPHRASE_SUCCESS) { |
| 62 | 62 | // Reset cached passphrase. |
| 63 | 63 | $encryptionStore = EncryptionStore::getInstance(); |
| 64 | - withPHPSession(function () use ($encryptionStore) { |
|
| 64 | + withPHPSession(function() use ($encryptionStore) { |
|
| 65 | 65 | $encryptionStore->add('smime', ''); |
| 66 | 66 | }); |
| 67 | 67 | } |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | $encryptionStore->add('smime', $data['passphrase'], time() + (5 * 60)); |
| 174 | 174 | } |
| 175 | 175 | else { |
| 176 | - withPHPSession(function () use ($encryptionStore, $data) { |
|
| 176 | + withPHPSession(function() use ($encryptionStore, $data) { |
|
| 177 | 177 | $encryptionStore->add('smime', $data['passphrase']); |
| 178 | 178 | }); |
| 179 | 179 | } |
@@ -42,11 +42,11 @@ |
||
| 42 | 42 | * Issuer host name. |
| 43 | 43 | */ |
| 44 | 44 | private $Issuer, /** |
| 45 | - * Full filename of PFX-File (Certificate). |
|
| 46 | - */ |
|
| 45 | + * Full filename of PFX-File (Certificate). |
|
| 46 | + */ |
|
| 47 | 47 | private $PfxFile, /** |
| 48 | - * Password for PFX-File (Certificate). |
|
| 49 | - */ |
|
| 48 | + * Password for PFX-File (Certificate). |
|
| 49 | + */ |
|
| 50 | 50 | private $PfxPassword |
| 51 | 51 | ) { |
| 52 | 52 | $this->loadCertificateFromPfx(); |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | catch (MAPIException $e) { |
| 84 | 84 | $this->sendFeedback(false, $this->errorDetailsFromException($e)); |
| 85 | 85 | } |
| 86 | - catch (AccountException|BackendException $e) { |
|
| 86 | + catch (AccountException | BackendException $e) { |
|
| 87 | 87 | $this->sendFeedback(false, [ |
| 88 | 88 | 'type' => ERROR_GENERAL, |
| 89 | 89 | 'info' => [ |