Skip to content
Snippets Groups Projects
Commit ccd16b82 authored by Angie Byron's avatar Angie Byron
Browse files

#74645 follow-up by maartenvg: One very important file_scan_directory() call...

#74645 follow-up by maartenvg: One very important file_scan_directory() call got missed; now HEAD installs again. W00t. ;)
parent b22a3c02
No related branches found
No related tags found
No related merge requests found
......@@ -212,7 +212,7 @@ function drupal_detect_database_types() {
// Because we have no registry yet, we need to also include the install.inc
// file for the driver explicitly.
foreach (file_scan_directory(DRUPAL_ROOT . '/includes/database', '/^[a-z]*$/i', array('.', '..', 'CVS'), 0, FALSE) as $file) {
foreach (file_scan_directory(DRUPAL_ROOT . '/includes/database', '/^[a-z]*$/i', '/(\.\.?|CVS)$/', 0, FALSE) as $file) {
include_once "{$file->filename}/install.inc";
include_once "{$file->filename}/database.inc";
$drivers[$file->basename] = $file->filename;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment