diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-20 03:49:24 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-20 03:49:24 +0000 |
commit | 89b4c55989eb0a1d2263de3a4a78c179f458cfee (patch) | |
tree | a125af0b0636ecaf984673dffbfe91dccefcfa56 /includes/registry.inc | |
parent | 67f93fcb161f8ba5bb2c87626f3ef8874e7acffa (diff) | |
download | brdo-89b4c55989eb0a1d2263de3a4a78c179f458cfee.tar.gz brdo-89b4c55989eb0a1d2263de3a4a78c179f458cfee.tar.bz2 |
#64967 follow-up by drewish: Replace ereg with preg in file_scan_directory().
Diffstat (limited to 'includes/registry.inc')
-rw-r--r-- | includes/registry.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/registry.inc b/includes/registry.inc index 636687136..e306c8487 100644 --- a/includes/registry.inc +++ b/includes/registry.inc @@ -49,7 +49,7 @@ function _registry_rebuild() { } } } - foreach (file_scan_directory('includes', '\.inc$') as $filename => $file) { + foreach (file_scan_directory('includes', '/\.inc$/') as $filename => $file) { $files["./$filename"] = array(); } |