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

server.exe now writes a "url" entry to its configuration file when it starts
up and removes it when it shuts down. This allows the gatherer (and
anything else that needs to) to detect if the server is running and to
know exactly what url it's using.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/w32server/fnord.cpp

    r4289 r4292  
    142142void finish_up() {
    143143  // remember the current preferences
    144   write_settings();
     144  write_settings("");
    145145
    146146  // Shutdown the HTTP server
     
    320320  if (have_networking) {
    321321    text_t url = "http://" + text_t(localname);
     322
     323    gsdl_url = url;
     324    write_settings(gsdl_url);
     325
    322326    if (gsdl_port_num != 80)
    323327      url += ":" + text_t(gsdl_port_num);
    324    
     328
    325329    url += gsdl_enterlib;
    326330
     
    367371         "Failed to start your chosen browser. It seems that your\n"
    368372         "chosen browser has been removed or corrupted.\n"
    369          "Please check you browser choice by going to the\n"
     373         "Please check your browser choice by going to the\n"
    370374         "'Settings...' item under the 'File' menu.",
    371375         "Greenstone Digital Library Software", MB_OK);
Note: See TracChangeset for help on using the changeset viewer.