Changeset 4290


Ignore:
Timestamp:
2003-05-20T14:17:41+12:00 (21 years ago)
Author:
sjboddie
Message:

Added a "configaction" to allow new collection servers to be added to and
removed from a persistent version of greenstone (i.e. the local library)
while it's still running. Without this you need to restart the server in
order for it to notice any new collections that may have appeared.
Use "?a=config&cmd=add-collection&c=colname" to create and configure a
collection server for the "colname" collection.

Location:
trunk/gsdl/src/recpt
Files:
2 added
2 edited

Legend:

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

    r3668 r4290  
    10761076  // "ccs" argument is set and make "cc" default to
    10771077  // all collections in "ccs"
    1078   if (!args["c"].empty()) {
     1078  if (args["a"] != "config" && !args["c"].empty()) {
    10791079
    10801080    text_t &arg_c = args["c"];
  • trunk/gsdl/src/recpt/win32.mak

    r3322 r4290  
    8080        htmlbrowserclass.h historydb.h phindbrowserclass.h collectoraction.h \
    8181        nullproto.h argdb.h browseaction.h browseactiontools.h phindaction.h \
    82         summarise.h highlighttext.h
     82        summarise.h highlighttext.h configaction.h
    8383
    8484CGIHEADERS = cgiwrapper.h
     
    9797        historydb.cpp phindbrowserclass.cpp collectoraction.cpp nullproto.cpp \
    9898        argdb.cpp browseaction.cpp browseactiontools.cpp phindaction.cpp \
    99         summarise.cpp highlighttext.cpp
     99        summarise.cpp highlighttext.cpp configaction.cpp
    100100
    101101CGISOURCES = librarymain.cpp cgiwrapper.cpp
     
    114114        historydb.obj phindbrowserclass.obj collectoraction.obj nullproto.obj \
    115115        argdb.obj browseaction.obj browseactiontools.obj phindaction.obj \
    116         summarise.obj highlighttext.obj
     116        summarise.obj highlighttext.obj configaction.obj
    117117
    118118CGIOBJECTS = librarymain.obj cgiwrapper.obj
Note: See TracChangeset for help on using the changeset viewer.