Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
ddb931b5
Commit
ddb931b5
authored
Jun 16, 2012
by
dawehner
Committed by
tim.plunkett
Oct 21, 2012
Browse files
Issue
#1640498
: Fix the tests!!!
parent
e2085055
Changes
1
Hide whitespace changes
Inline
Side-by-side
views.module
View file @
ddb931b5
...
...
@@ -184,9 +184,11 @@ function _views_find_module_templates($cache, $path) {
$regex
=
'/'
.
'\.tpl\.php'
.
'$'
.
'/'
;
// @todo Remove this once #1626580 is committed. For now, We need to remove
// the sites/
all
part of the path because drupal_system_listing() is already
// the sites/
*
part of the path because drupal_system_listing() is already
// adding that.
$path
=
preg_replace
(
'/^sites\/all\//'
,
''
,
$path
);
$config
=
str_replace
(
'/'
,
'\/'
,
conf_path
());
$path
=
preg_replace
(
'/^'
.
$config
.
'\//'
,
''
,
$path
);
// Because drupal_system_listing works the way it does, we check for real
// templates separately from checking for patterns.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment