summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 30bc90980..ef1735e1f 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1003,9 +1003,9 @@ function _system_theme_data() {
if (empty($themes_info)) {
// Find themes
- $themes = drupal_system_listing('\.info$', 'themes');
+ $themes = drupal_system_listing('/\.info$/', 'themes');
// Find theme engines
- $engines = drupal_system_listing('\.engine$', 'themes/engines');
+ $engines = drupal_system_listing('/\.engine$/', 'themes/engines');
$defaults = system_theme_default();