projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix error where 4.6 change was not merged correctly to master.
[civicrm-core.git]
/
CRM
/
Core
/
Resources.php
diff --git
a/CRM/Core/Resources.php
b/CRM/Core/Resources.php
index 690a76deb2a09ba36ac29430570e4f395352e9a4..d12afab2d06dbc48d90a69ccd4b38fcc4a7bde40 100644
(file)
--- a/
CRM/Core/Resources.php
+++ b/
CRM/Core/Resources.php
@@
-525,7
+525,7
@@
class CRM_Core_Resources {
$patterns = (array) $patterns;
$files = array();
foreach ($patterns as $pattern) {
- if (
$pattern{0} === '/'
) {
+ if (
CRM_Utils_File::isAbsolute($pattern)
) {
// Absolute path.
$files = array_merge($files, (array) glob($pattern, $flags));
}