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

Embeddable: Fix default ns_mgr being used for wikis

This commit is contained in:
gnosygnu
2017-01-26 01:14:21 -05:00
parent 99c968e1e2
commit 6867cc23b4
2 changed files with 11 additions and 3 deletions

View File

@@ -19,8 +19,8 @@ package gplx.xowa.apps.metas; import gplx.*; import gplx.xowa.*; import gplx.xow
import gplx.xowa.wikis.nss.*;
import gplx.xowa.bldrs.wms.sites.*;
public class Xoa_meta_mgr {
private final Xoa_app app;
private final Hash_adp_bry ns__hash = Hash_adp_bry.cs();
private final Xoa_app app;
private final Hash_adp_bry ns__hash = Hash_adp_bry.cs();
private Site_core_db core_db;
public Xoa_meta_mgr(Xoa_app app) {
this.app = app;
@@ -32,6 +32,7 @@ public class Xoa_meta_mgr {
Core_db__assert();
rv = core_db.Load_namespace(wiki_domain);
Ns__add(wiki_domain, rv);
rv.Init(); // must init to fill Ords
}
return rv;
}