File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -213,11 +213,11 @@ function user_insert($event_name, $data) {
213213 if (file_exists ($ conf ['rootpath ' ].'/conf-custom/mail/welcome_email_ ' .$ domain .'.html ' )) {
214214 $ lines = file ($ conf ['rootpath ' ].'/conf-custom/mail/welcome_email_ ' .$ domain .'.html ' );
215215 $ html = true ;
216+ } elseif (file_exists ($ conf ['rootpath ' ].'/conf-custom/mail/welcome_email_ ' .$ domain .'.txt ' )) {
217+ $ lines = file ($ conf ['rootpath ' ].'/conf-custom/mail/welcome_email_ ' .$ domain .'.txt ' );
216218 } elseif (file_exists ($ conf ['rootpath ' ].'/conf-custom/mail/welcome_email_ ' .$ conf ['language ' ].'.html ' )) {
217219 $ lines = file ($ conf ['rootpath ' ].'/conf-custom/mail/welcome_email_ ' .$ conf ['language ' ].'.html ' );
218220 $ html = true ;
219- } elseif (file_exists ($ conf ['rootpath ' ].'/conf-custom/mail/welcome_email_ ' .$ domain .'.txt ' )) {
220- $ lines = file ($ conf ['rootpath ' ].'/conf-custom/mail/welcome_email_ ' .$ domain .'.txt ' );
221221 } elseif (file_exists ($ conf ['rootpath ' ].'/conf-custom/mail/welcome_email_ ' .$ conf ['language ' ].'.txt ' )) {
222222 $ lines = file ($ conf ['rootpath ' ].'/conf-custom/mail/welcome_email_ ' .$ conf ['language ' ].'.txt ' );
223223 } elseif (file_exists ($ conf ['rootpath ' ].'/conf-custom/mail/welcome_email_en.txt ' )) {
You can’t perform that action at this time.
0 commit comments