Ignore:
Timestamp:
2008-05-13T12:04:17+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Untangling colservr/recpt) Split recpt/recptconfig into two: lib/gsdlsitecfg (reads gsdlsite.cfg file; used by both colservr and recpt) and recpt/maincfg (reads main.cfg file; used by recpt only).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/recpt/cgiwrapper.cpp

    r12794 r15402  
    3131#include "gsdlconf.h"
    3232#include "cgiwrapper.h"
    33 #include "recptconfig.h"
     33#include "gsdlsitecfg.h"
     34#include "maincfg.h"
    3435#include "fileutil.h"
    3536#include "cgiutils.h"
     
    482483  // read in the configuration files.
    483484  text_t gsdlhome;
    484   if (!site_cfg_read (recpt, gsdlhome, maxrequests)) {
     485  configurator gsdlconfigurator(&recpt);
     486  if (!site_cfg_read (gsdlconfigurator, gsdlhome, maxrequests)) {
    485487    // couldn't find the site configuration file
    486488    page_errorsitecfg (errorpage, debug, 0);
Note: See TracChangeset for help on using the changeset viewer.