From 164e50f411e4d41bb7a523a955e250fdcc00e8c1 Mon Sep 17 00:00:00 2001 From: howardshand Date: Fri, 21 Feb 2025 11:29:06 -0500 Subject: [PATCH] Update Mailer.php --- de.systopia.civiproxy/CRM/Civiproxy/Mailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/de.systopia.civiproxy/CRM/Civiproxy/Mailer.php b/de.systopia.civiproxy/CRM/Civiproxy/Mailer.php index 1b1ed52..9ae2039 100644 --- a/de.systopia.civiproxy/CRM/Civiproxy/Mailer.php +++ b/de.systopia.civiproxy/CRM/Civiproxy/Mailer.php @@ -71,7 +71,7 @@ class CRM_Civiproxy_Mailer { $value = preg_replace("#{$system_base}civicrm/mailing/open#i", $proxy_base.'/open.php', $value); $value = preg_replace("#{$system_base}sites/all/modules/civicrm/extern/open.php#i", $proxy_base.'/open.php', $value); $value = preg_replace("#{$system_base}sites/default/files/civicrm/persist/#i", $proxy_base.'/file.php?id=', $value); - $value = preg_replace("#{$system_base}wp-content/uploads/civicrm/persist/contribute/images/uploads/static/#i", $proxy_base.'/file.php?id=', $value); + $value = preg_replace("#{$system_base}wp-content/uploads/civicrm/persist/#i", $proxy_base.'/file.php?id=', $value); $value = preg_replace("#{$system_base}civicrm/mosaico/img\?src=#i", $proxy_base.'/mosaico.php?id=', $value); $value = preg_replace("#{$system_base}civicrm/mosaico/img/\?src=#i", $proxy_base.'/mosaico.php?id=', $value); if ($mosaico->isMosaicoInstalled()) {