diff --git a/instalar/index.php b/instalar/index.php index 820644d..7ec3f87 100644 --- a/instalar/index.php +++ b/instalar/index.php @@ -26,9 +26,9 @@ if ( (is_writable("../inc/config.php") and is_writable("../restrito/inc/config.p $dbuser = $_POST["dbuser"]; $dbpass = $_POST["dbpass"]; $dbname = $_POST["dbname"]; - $phpmailer = $_POST["phpmailer"] == "phpmailer" ? "true" : "false"; + $phpmailer = $_POST["phpmailer"] == "phpmailer" ? true : false; $smtphost = $_POST["smtpport"] != "" ? $_POST["smtphost"].":".$_POST["smtpport"] : $_POST["smtphost"]; - $smtpauth = $_POST["smtpauth"] == "smtpauth" ? "true" : "false"; + $smtpauth = $_POST["smtpauth"] == "smtpauth" ? true : false; $smtpuser = $_POST["smtpuser"]; $smtppwd = $_POST["smtppwd"]; @@ -204,4 +204,4 @@ include("../inc/topo.php"); \ No newline at end of file +?> -- libgit2 0.21.2