Ignore:
Timestamp:
2012-05-09T20:08:01+12:00 (12 years ago)
Author:
ak19
Message:

Dr Bainbridge has introduced the isPersistentAction (add the a=is-persistent to the library url). It is true for server.exe and when using mod_gsdl, but false for library.cgi which uses the apache web server (when not using mod_gsdl).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/cgiwrapper.cpp

    r24958 r25560  
    512512
    513513
    514 void add_all_actions(receptionist& recpt, userdbclass* udb, keydbclass* kdb)
     514void add_all_actions(receptionist& recpt, userdbclass* udb, keydbclass* kdb, isPersistentEnum isPersistentVal)
    515515{
    516516  // the list of actions.
     
    535535#endif
    536536
     537  ispersistentaction *aIsPersistentAction = new ispersistentaction(isPersistentVal);
     538  recpt.add_action (aIsPersistentAction);
     539 
    537540#if defined(USE_RSS)
    538541  rssaction *arssaction = new rssaction();
Note: See TracChangeset for help on using the changeset viewer.