Changeset 994


Ignore:
Timestamp:
2000-03-01T09:59:02+13:00 (24 years ago)
Author:
sjboddie
Message:

added error message when unable to read from collect directory - should
probably write this out to a web page too

File:
1 edited

Legend:

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

    r963 r994  
    2828/*
    2929   $Log$
     30   Revision 1.24  2000/02/29 20:59:02  sjboddie
     31   added error message when unable to read from collect directory - should
     32   probably write this out to a web page too
     33
    3034   Revision 1.23  2000/02/21 21:59:37  sjboddie
    3135   gsdlhome now comes from gsdlsite.cfg
     
    153157  if (site_cfg_read (gsdlhome)) {
    154158    text_t collectdir = filename_cat (gsdlhome, "collect");
    155     if (!read_dir (collectdir, collections)) exit (1);
     159    if (!read_dir (collectdir, collections)) {
     160      cerr << "couldn't read collect directory - make sure gsdlhome field is correct in gsdlsite.cfg\n";
     161      exit (1);
     162    }
    156163  }
    157164
Note: See TracChangeset for help on using the changeset viewer.