Ignore:
Timestamp:
2010-08-24T19:46:29+12:00 (14 years ago)
Author:
ak19
Message:

More changes for ticket 152: making the collectdir moveable. When using server.exe, if GLI was last shutdown when another collectdir was active, this needs to be read in from the user config.xml by GLI, and server.exe needs to use it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/w32server/settings.cpp

    r20949 r22770  
    438438    while (read_ini_line(conf, key, value) >= 0) {
    439439      if (key.empty()) continue;
    440       if (value.empty()) {
     440      if (value.empty() && starts_with(key, "[") && ends_with(key, "]")) {
    441441    // should be a section title
    442442    section = key;
Note: See TracChangeset for help on using the changeset viewer.