mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-06 22:07:58 +00:00
fix remaining psalm issues
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
473ddbfcee
commit
5dd2048500
6 changed files with 9 additions and 36 deletions
|
|
@ -366,6 +366,9 @@ class ConfigurationManager
|
|||
|
||||
// Check if response is correct
|
||||
$ch = curl_init();
|
||||
if ($ch === false) {
|
||||
throw new InvalidSettingConfigurationException('Could not init curl! Please check the logs!');
|
||||
}
|
||||
$testUrl = $protocol . $domain . ':443';
|
||||
curl_setopt($ch, CURLOPT_URL, $testUrl);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue