1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Xomw: Do not load every personal wiki on startup

This commit is contained in:
gnosygnu
2017-02-25 21:05:36 -05:00
parent 26f786d4b9
commit a661f90ede
3 changed files with 17 additions and 8 deletions

View File

@@ -117,7 +117,8 @@ public class Xoa_css_extractor {
}
private void Css_common_failover() {
Io_url trg_fil = wiki_html_dir.GenSubFil(Css_common_name);
Io_mgr.Instance.CopyDirDeep(home_css_dir, trg_fil.OwnerDir()); // NOTE: copy dir first b/c xowa_commons.css will be replaced below
if (home_css_dir != null) // TEST:
Io_mgr.Instance.CopyDirDeep(home_css_dir, trg_fil.OwnerDir()); // NOTE: copy dir first b/c xowa_commons.css will be replaced below
Io_mgr.Instance.CopyFil(Css_common_failover_url(), trg_fil, true);
}
private void Css_common_download() {