Marius Burkard
2016-02-06 7b4df68ebbfa7edd70bc5c560c4d8aa0780e8a5b
ISPConfig coding guidelines
1 files modified
6 ■■■■ changed files
server/plugins-available/mail_plugin.inc.php 6 ●●●● patch | view | raw | blame | history
server/plugins-available/mail_plugin.inc.php
@@ -207,13 +207,13 @@
        //* Send the welcome email message
        $domain = explode('@', $data["new"]["email"])[1];
        $html = False;
        $html = false;
        if (file_exists($conf['rootpath'].'/conf-custom/mail/welcome_email_'.$domain.'.html')) {
            $lines = file($conf['rootpath'].'/conf-custom/mail/welcome_email_'.$domain.'.html');
            $html = True;
            $html = true;
        } elseif (file_exists($conf['rootpath'].'/conf-custom/mail/welcome_email_'.$conf['language'].'.html')) {
            $lines = file($conf['rootpath'].'/conf-custom/mail/welcome_email_'.$conf['language'].'.html');
            $html = True;
            $html = true;
        } elseif (file_exists($conf['rootpath'].'/conf-custom/mail/welcome_email_'.$domain.'.txt')) {
            $lines = file($conf['rootpath'].'/conf-custom/mail/welcome_email_'.$domain.'.txt');
        } elseif(file_exists($conf['rootpath'].'/conf-custom/mail/welcome_email_'.$conf['language'].'.txt')) {