projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f64230
)
Fix dynamicResourceUrl for windows systems
author
Coleman Watts
<coleman@civicrm.org>
Sat, 9 Aug 2014 16:06:48 +0000
(17:06 +0100)
committer
Coleman Watts
<coleman@civicrm.org>
Sat, 9 Aug 2014 16:06:48 +0000
(17:06 +0100)
CRM/Utils/File.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/File.php
b/CRM/Utils/File.php
index 32819fcc1d9774daea253976c7636211c6ce3d7b..fb25837908d7dd6c4a378b2006b0118a26a07437 100644
(file)
--- 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;
}
/**