Changeset 6022


Ignore:
Timestamp:
2003-11-28T16:43:15+13:00 (20 years ago)
Author:
sjboddie
Message:

receptionist::read_macrofiles() now unloads any previously loaded macros
before reading in the macro files. This allows the local library server
and other persistent greenstone installations to call read_macrofiles()
a second time to reload the macro files and catch up with any changes.

File:
1 edited

Legend:

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

    r5512 r6022  
    10021002  // redirect the error output to logout
    10031003  ostream *savedlogout = disp.setlogout (&logout);
     1004
     1005  // unload any macros that were previously loaded - this allows us to call
     1006  // this function a second time to reload all the macro files (useful for
     1007  // reading in changed macro files in server versions of greenstone)
     1008  disp.unloaddefaultmacros();
    10041009
    10051010  // load up the default macro files, the collection directory
Note: See TracChangeset for help on using the changeset viewer.