Explorar o código

Get the image rite

Andy Baugh %!s(int64=6) %!d(string=hai) anos
pai
achega
d892ec3e49
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lib/Cpanel/iContact/Provider/Local.pm

+ 1 - 0
lib/Cpanel/iContact/Provider/Local.pm

@@ -66,6 +66,7 @@ sub send {
     my $subject = $args_hr->{'subject'};
     my $text    = ${ $args_hr->{'text_body'} };
 	my $html    = ${ $args_hr->{'html_body'} };
+	$html =~ s:src=".*":src="/unprotected/cpanel/images/cp-logo.svg":;
 
     # Send it
     my $time = time;