Well, I'm trying to get CVS HEAD working (checked out at 2005-11-25 00:35 GMT+08:00), and noticed that many contributed modules haven't been updated to the new API yet. I also noticed that legacy.inc (happily enough!) seems to contain at least some of the functions that those old modules need. Rather than try to submit patches for all the modules in CVS (which I don't understand how to do in most cases yet), I figure I should just include legacy.inc somewhere for now. Is there a correct way to do it? Grepping for "legacy.inc" in all the files brought up no hits, so I just slapped a
require_once './includes/legacy.inc';
at the end of my sites/default/settings.php file. Is that the right place to put it? Is there a plan to turn this into a configuration option at some point?