]> jfr.im git - irc/unrealircd/unrealircd-webpanel-plugins.git/commitdiff
Update mail-settings.php
authorValerie Pond <redacted>
Tue, 27 Jun 2023 05:22:26 +0000 (06:22 +0100)
committerValerie Pond <redacted>
Tue, 27 Jun 2023 05:22:26 +0000 (06:22 +0100)
php_mailer/mail-settings.php

index 5707b0501fb8d22787b87f2c05340ff20f5070ff..21b4443cabfeb3932d99d16592a2ddba8dc83e2c 100644 (file)
@@ -10,7 +10,7 @@ if (!current_user_can(PERMISSION_MANAGE_PLUGINS))
 }
 foreach($_POST as $key => $value)
 {
-       var_dump($key,$value);
+       var_dump("duck",$key,$value);
        if ($key == "fromEmail")
                $config['smtp']["username"];
        elseif ($key == "smtpPass")
@@ -24,7 +24,7 @@ foreach($_POST as $key => $value)
        elseif ($key == "smtpEnc")
                $config['smtp']['smtpEnc'];
 
-       write_config_file();
+       write_config();
 }
 ?>