Hi all,

I made some changes to how configuration (currently only database  
configuration) is stored for Habari.
There's now a configuration registry class ("Config") instead of the  
nasty globals.

Changeset here: http://trac.habariproject.org/habari/changeset/3309

WARNING: This will cause a BC break to all of you trunk users out  
there (and will need to be changed between 0.5 and 0.6 when that's  
released).

Old config.php had a $db_connection = array( ... );
This should now be: Config::set( 'db_connection', array( ... ) );

Sorry if that inconveniences anyone, but the global config stuff broke  
down in phpunit (and was otherwise error-prone, due to PHP's scoping  
rules).

S


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to