From: Evan R. <eva...@gm...> - 2006-04-30 20:06:36
|
so, as my comments earlier...i've redone all the options stuff, so it's required me to commit lots of the files...be sure you've all got the newest versions. as this change can be turned back, if we so decide, i've commented out the stuff in init.php which is now obsolete. now it looks like this: $opts =3D new Options(); //construct our options object and load vals from= DB ...and... $opts->vals[name] =3D value; //the stuff that was in the $config array bef= ore quite straight-forward actually. i still need to add an init() class function, which will store any default values which aren't already present in the database...since we've essentially made deafult.config obsolete as well. /evan |