summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-25 14:46:59 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-25 14:46:59 -0400
commit4090c90fba9134e2eaf2ac9375682d089469548a (patch)
tree7e0970d8a9bd205e128d30c64300c50cbb3b13f5 /usr/local/www
parentf804b68999b90198104968e8198ba03f4a19486e (diff)
downloadpfsense-4090c90fba9134e2eaf2ac9375682d089469548a.zip
pfsense-4090c90fba9134e2eaf2ac9375682d089469548a.tar.gz
Correct pconfig variables
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/system_advanced_notifications.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/local/www/system_advanced_notifications.php b/usr/local/www/system_advanced_notifications.php
index 67d8622..81d83a6 100644
--- a/usr/local/www/system_advanced_notifications.php
+++ b/usr/local/www/system_advanced_notifications.php
@@ -44,10 +44,8 @@ if($config['notifications']['growl']['ipaddress'])
$pconfig['ipaddress'] = $config['notifications']['growl']['ipaddress'];
// SMTP
-if($config['notifications']['smtp']['username'])
- $pconfig['smtpusername'] = $config['notifications']['smtp']['username'];
-if($config['notifications']['smtp']['password'])
- $pconfig['smtppassword'] = $config['notifications']['smtp']['password'];
+if($config['notifications']['smtp']['ipaddress'])
+ $pconfig['smtpipaddress'] = $config['notifications']['smtp']['ipaddress'];
if($config['notifications']['smtp']['notifyemailaddress'])
$pconfig['smtpnotifyemailaddress'] = $config['notifications']['smtp']['notifyemailaddress'];
OpenPOWER on IntegriCloud