head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2000.01.17.22.19.46;	author chuck;	state dead;
branches;
next	1.2;

1.2
date	2000.01.17.22.11.11;	author chuck;	state Exp;
branches;
next	1.1;

1.1
date	99.07.20.07.36.32;	author jon;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Tightening things up a little bit more, and making it possible to put the
buttons.php and db.php files anywhere you want - only conf.php has to be in
a known location (and babel.lib, which will be going away soon).
@
text
@function init_buttons (&$request_ref) {
  if (!($buttons_filename = $GLOBALS['conf']['paths']['buttons']))
    return error("could not find buttons in conf");
  
  if (!(read_conf_file($buttons_filename)))
    return error("could not read '$buttons_filename'");
  
  return success();
}
@


1.2
log
@Another whomping commit that really doesn't do much tangible. The conf
system is now moved over to the $conf[section][value|subsection] mode that
the other cvs horde stuff is using.

Also, I'm compacting and tightening up the code wherever possible when I go.
Lots of major changes - moving the configuration of forums into the
database, changes in the database code for faster sql access, options to put
different forums in different tables/databases, and some nifty setup ideas -
to come.

Comments on what people would like to see in a forum system - I've already
thought of being able to attach files (where should they be stored?) - would
be welcome.
@
text
@@


1.1
log
@
jon: alrighty, babel.php3.in is now broken down into seperate
     function files.  they're jusy dying to be combined into
     objects and seperate source files.
@
text
@d2 7
a8 10
    $buttons_ref = $request_ref->buttons;
    
    if (!($buttons_filename = $request_ref->conf['buttons']))
      return error("could not find buttons in conf");
    
    if (!(read_conf_file($buttons_filename, $buttons_ref)))
      return error("could not read '$buttons_filename'");
    
    $request_ref->buttons = $buttons_ref;
    return success();
@

