temp mod3
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
root
2024-08-07 08:23:52 +02:00
parent 058e51b761
commit cdd9b51723
2 changed files with 146 additions and 0 deletions

View File

@@ -1,5 +1,18 @@
<?php
if ($_POST["smarthost"]=="Y") {
if ($_POST["domain"]=="") $_POST["domain"] = "localhost";
# if not FQDN
$arr = explode(".",$_POST["DOMAIN"]);
if (count($arr)==1) {
echo "Warning! It seems DOMAAIN is not an FQDN. Self-signed certificate will be created only.";
$_POST["self_signed"] = "true";
}
}
create_install_json($_POST);
/*
put_install_envs();