Ignore:
Timestamp:
1999-02-05T23:42:50+13:00 (25 years ago)
Author:
rjmcnab
Message:

Continued working on receptionist

File:
1 edited

Legend:

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

    r146 r150  
    1212/*
    1313   $Log$
     14   Revision 1.4  1999/02/05 10:42:46  rjmcnab
     15
     16   Continued working on receptionist
     17
    1418   Revision 1.3  1999/02/04 10:00:56  rjmcnab
    1519
     
    2832#include "fileutil.h"
    2933#include <assert.h>
     34#include <time.h>
    3035
    3136
     
    7883// meaningless output), instead an error page should be
    7984// produced by the calling code.
    80 bool receptionist::digest (ostream &logout) {
     85bool receptionist::init (ostream &logout) {
    8186  // redirect the error output to logout
    8287  //  disp.setlogout (&logout);
     
    8691  //  cfg_info.defaultpage = "about";
    8792  //  cfg_info.defaultencoding = "w";
    88 
    89   // read in the configuration files etc/collect.cfg and index/build.cfg
    90   // entries in build.cfg should override those in collect.cfg
    91   //  filename = filename_cat (collectdir, "etc");
    92   //  filename = filename_cat (filename, "collect.cfg");
    93   //  cfg_read(filename);
    9493
    9594  // load up the default macro files, the collection directory
     
    108107  //  }
    109108
    110   //  srand(time(NULL));
     109  srand(time(NULL));
    111110
    112111  //  utf8outconvert.set_rzws(1);
    113112  //  gboutconvert.set_rzws(1);
    114113
    115   //  return collect_init(collection);
    116114  return true;
    117115}
Note: See TracChangeset for help on using the changeset viewer.