mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update index.php
This commit is contained in:
@@ -40,7 +40,7 @@ $response = curl_exec($ch);
|
||||
|
||||
if ($response === false) {
|
||||
$errorMessage = curl_error($ch);
|
||||
echo "Error connecting to <code>$ip</code> on port <code>80</code> - make sure that domain <b> $domen </b> exists on the server <code>$ip</code> and has SSL certificate.<br>";
|
||||
echo "Error connecting to <code>$ip</code> on port <code>80</code> - make sure that domain <b> $domen </b> exists on the server <code>$ip</code> and that web server is running.<br>";
|
||||
if (strpos($errorMessage, 'SSL') !== false) {
|
||||
curl_close($ch);
|
||||
echo "response: <pre>" . $errorMessage . "</pre>";
|
||||
|
||||
Reference in New Issue
Block a user