Comments

coltrane’s picture

Status: Active » Needs review
StatusFileSize
new2.87 KB
coltrane’s picture

coltrane’s picture

Status: Fixed » Needs work

Re-opening to tokenize settings.php instead of including.

coltrane’s picture

Status: Needs work » Needs review
StatusFileSize
new896 bytes
coltrane’s picture

greggles’s picture

FWIW, I'd personally prefer the include style check. There's a chance that the tokenize test will succeed in a scenario like:

if (FALSE) {
  $base_url = 'foo';
}

And so it would be a false positive.

coltrane’s picture

Status: Fixed » Active

Re-opening based on #6 for further thought.

coltrane’s picture

Title: Check for base_url in settings.php » Include settings.php as additional way to check for base_url being set
coltrane’s picture

Status: Active » Needs review
StatusFileSize
new0 bytes

This adds per-check settings on the settings page. You can flag this check to use 'include' method.

coltrane’s picture

StatusFileSize
new4.05 KB

last patch had errors on upload, trying again

greggles’s picture

Looks great to me on visual review.

coltrane’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Needs review » Patch (to be ported)

  • coltrane committed 2244ea3 on 8.x-1.x
    Issue #2001092 by coltrane: Added Check for base_url() in settings.php.
    
  • coltrane committed 1a7b0ac on 8.x-1.x
    Followup to Issue #2001092 by coltrane: Tokenize settings.php for...
  • coltrane committed f577b38 on 8.x-1.x
    Followup #2001092 by coltrane: Add include settings.php as additional...
smustgrave’s picture

Issue summary: View changes
Status: Patch (to be ported) » Closed (outdated)

As Drupal6 has been EOL https://www.drupal.org/about/drupal6-eol closing as outdated