do not show letsencrypt file not exists
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-07-31 12:20:07 +00:00
parent 8f684513fd
commit 11d8475c8a

View File

@@ -203,7 +203,7 @@ switch ($_GET["op"]) {
echo '<div id="letsencrypt">';
//var_dump($template);
$letsencrypt = check_letsencrypt();
if (empty($letsencrypt)) echo "LETSENCRYPT file doesn't exists...<br><br>";
if (empty($letsencrypt)) echo ""; //echo "LETSENCRYPT file doesn't exists...<br><br>";
elseif ($letsencrypt=="ERROR") echo "LETSENCRYPT file: read JSON error...<br><br>";
else {
$domain = "";
@@ -334,7 +334,7 @@ switch ($_GET["op"]) {
case "check_letsencrypt":
$domain = $_GET["domain"];
$letsencrypt = check_letsencrypt();
if (empty($letsencrypt)) echo "LETSENCRYPT file doesn't exists...";
if (empty($letsencrypt)) echo ""; //echo "LETSENCRYPT file doesn't exists...";
elseif ($letsencrypt=="ERROR") echo "LETSENCRYPT file: read JSON error...";
else {
show_letsencrypt($letsencrypt, $domain);