Ignore:
Timestamp:
2004-01-28T14:44:44+13:00 (20 years ago)
Author:
jmt12
Message:

Further tweaks, fixes and changes to the mirroring stuff, the highlight of which is the new log files. I've also removed the speech marks from around login and pass. While this means you can't have a login or pass with spaces in it, it does save me a lot of effort. Rather than tell people about the further options, they now click on a button to open the preferences window and show the further options. Also fixed a horrendeously subtle bug when trying to update the FileSystemModel - stupid race conditions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/util/Utility.java

    r6621 r6637  
    633633     */
    634634    public static String getLogDir(String col_dir) {
    635     return col_dir + LOG_DIR;
     635    if(col_dir != null) {
     636        return col_dir + LOG_DIR;
     637    }
     638    else {
     639        return getGLIUserFolder().getAbsolutePath() + File.separator + LOG_DIR;
     640    }
    636641    }
    637642    /** Determine this machines name.
Note: See TracChangeset for help on using the changeset viewer.