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.

Comments

  • Commit d1c81eb on 6.x-1.x by typhonius:
    Issue #2031783 by typhonius: Support for $db_url in array.
    
adammalone’s picture

Issue summary: View changes
Status: Needs review » Closed (fixed)

This has been fixed and is in the latest dev as of d1c81ebe