17 Aug
2007
17 Aug
'07
4:52 p.m.
Victor Kane wrote:
just svn:ignore settings.php
To me, that's a bit dangerous: the recent Drupal security advisory notice(s) affected settings.php, didn't they? So you'd have to check every live site's settings.php by hand if something like that happened again. Maybe the svn-enabled solution is to override in another file, bring it in as an include, and svn:ignore that other file: settings.php: $db_url = 'db_default_name'; include("settings_override.php"); // file not found: fails silently? svn:ignore'd settings_override.php $db_url = 'db_freds_own_database'; Be nice to have a native Drupal solution, though. And that's an extra file hit per request. Cheers, J-P