For Drupal 6, $db_url may be an array with the 'default' element being that of the default site database.
With the 6.x branch of this module, if $db_url is an array then path checking initiated from settings.php gets skipped over due to the check of whether it is an array.
This patch allows $db_url to be a string or an array. If $db_url is an array, fast_404.inc will then follow the example of the 7.x branch of this module and use the default element to query against.
| Comment | File | Size | Author |
|---|---|---|---|
| ensure-fast_404-works-with-db_url-array.patch | 1.6 KB | adammalone |
Comments
Comment #2
adammaloneThis has been fixed and is in the latest dev as of d1c81ebe