Skip to content
Permalink
Browse files

Don't override my fix!

  • Loading branch information...
NEMS Linux
NEMS Linux committed Apr 12, 2019
1 parent 1f9c737 commit 2d4979e17b991d4c571d9f792f5e964b7a9f0caa
Showing with 5 additions and 2 deletions.
  1. +5 −2 config/index.php
@@ -132,8 +132,11 @@
$output .= '$USER14$=' . (sanitize($_POST['pushover_userkey']) ?: 'NULL') . PHP_EOL;
# TLS for SMTP enabled (1) or not (0), default 1
if (empty($_POST['smtp_tls'])) $smtp_tls = 0; // if 0 selected, _POST value will be empty
$smtp_tls = sanitize($_POST['smtp_tls']);
if (empty($_POST['smtp_tls'])) {
$smtp_tls = 0; // if 0 selected, _POST value will be empty
} else {
$smtp_tls = sanitize($_POST['smtp_tls']);
}
$output .= '$USER15$=' . ($smtp_tls ?: '1') . PHP_EOL;
# IPMI credentials

0 comments on commit 2d4979e

Please sign in to comment.
You can’t perform that action at this time.