Mercurial Hosting > nabble
comparison src/global/Site.java @ 2:abe0694e9849
replace local_dir with home_dir
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 25 Mar 2019 13:59:13 -0600 |
parents | 7ecd1a4ef557 |
children | 56accc959f8c |
comparison
equal
deleted
inserted
replaced
1:75262552dd35 | 2:abe0694e9849 |
---|---|
76 private static volatile Thread thread = null; | 76 private static volatile Thread thread = null; |
77 private static final boolean skipReindex1 = Init.get("skipReindex1",false); | 77 private static final boolean skipReindex1 = Init.get("skipReindex1",false); |
78 | 78 |
79 static { | 79 static { |
80 try { | 80 try { |
81 String localDir = (String)Init.get("local_dir"); | 81 String localDir = (String)Init.get("home_dir")+"local/"; |
82 dir1 = FSDirectory.open(new File(localDir+"lucene_raw")); | 82 dir1 = FSDirectory.open(new File(localDir+"lucene_raw")); |
83 dir2 = FSDirectory.open(new File(localDir+"lucene_global")); | 83 dir2 = FSDirectory.open(new File(localDir+"lucene_global")); |
84 } catch(IOException e) { | 84 } catch(IOException e) { |
85 throw new RuntimeException(e); | 85 throw new RuntimeException(e); |
86 } | 86 } |