File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 671
671
} else {
672
672
$ v = VERSION ;
673
673
}
674
- $ PoweredBy = '<p align="left"><a href="http://www.phplist.com"><img src="http://powered.phplist.com/images / ' . $ v . '/power-phplist.png" width="88" height="31" title="powered by phplist" alt="powered by phplist" border="0" /></a></p> ' ;
674
+ $ PoweredBy = '<p align="left"><a href="http://www.phplist.com"><img src=" ' . PHPLIST_POWEREDBY_URLROOT . ' / ' . $ v . '/power-phplist.png" width="88" height="31" title="powered by phplist" alt="powered by phplist" border="0" /></a></p> ' ;
675
675
} else {
676
676
$ PoweredBy = '<center><a href="http://www.phplist.com"><img src="images/power-phplist.png" width="88" height="31" title="powered by phplist" alt="powered by phplist" border="0" /></a></center> ' ;
677
677
}
Original file line number Diff line number Diff line change 602
602
define ('AWS_POSTURL ' , 'https://email.us-east-1.amazonaws.com/ ' );
603
603
}
604
604
if (!defined ('PHPLIST_POWEREDBY_URLROOT ' )) {
605
- define ('PHPLIST_POWEREDBY_URLROOT ' , 'http://powered.phplist.com/images ' );
605
+ if ($ GLOBALS ['public_scheme ' ] == 'https ' ) {
606
+ define ('PHPLIST_POWEREDBY_URLROOT ' , 'https://d3u7tsw7cvar0t.cloudfront.net/images ' );
607
+ } else {
608
+ define ('PHPLIST_POWEREDBY_URLROOT ' , 'http://powered.phplist.com/images ' );
609
+ }
606
610
}
607
611
608
612
if (!isset ($ allowed_referrers ) || !is_array ($ allowed_referrers )) {
Original file line number Diff line number Diff line change @@ -630,7 +630,7 @@ function cleanEmail($value)
630
630
}
631
631
632
632
if (TEST && REGISTER ) {
633
- $ pixel = '<img src="http://powered.phplist.com/images /pixel.gif" width="1" height="1" /> ' ;
633
+ $ pixel = '<img src=" ' . PHPLIST_POWEREDBY_URLROOT . ' /pixel.gif" width="1" height="1" /> ' ;
634
634
}
635
635
636
636
function timeDiff ($ time1 , $ time2 )
You can’t perform that action at this time.
0 commit comments