From 8ce76a5600b28c7efd21b75fd89c3a97f47bee02 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 9 Aug 2014 17:06:48 +0100 Subject: [PATCH] Fix dynamicResourceUrl for windows systems --- CRM/Utils/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/File.php b/CRM/Utils/File.php index 32819fcc1d..fb25837908 100644 --- a/CRM/Utils/File.php +++ b/CRM/Utils/File.php @@ -728,7 +728,7 @@ HTACCESS; static function dynamicResourceUrl($fileName) { $config = CRM_Core_Config::singleton(); // FIXME: Need a better way of getting the url of the baseFilePath - return self::addTrailingSlash(str_replace('/persist/contribute', '', $config->imageUploadURL)) . 'dynamic/' . $fileName; + return self::addTrailingSlash(str_replace('/persist/contribute', '', $config->imageUploadURL), '/') . 'dynamic/' . $fileName; } /** -- 2.25.1