This commit is contained in:
jrandom
2005-08-25 21:08:13 +00:00
committed by zzz
parent c27aed3603
commit e0bfdff152
2 changed files with 1 additions and 4 deletions

View File

@ -40,10 +40,6 @@ public class Archive {
public boolean accept(File dir, String name) { return name.endsWith(".snd"); }
};
static {
TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
}
public Archive(I2PAppContext ctx, String rootDir, String cacheDir) {
_context = ctx;
_rootDir = new File(rootDir);

View File

@ -23,6 +23,7 @@ public class BlogManager {
private Archive _archive;
static {
TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
String rootDir = I2PAppContext.getGlobalContext().getProperty("syndie.rootDir");
if (rootDir == null)
rootDir = System.getProperty("user.home");