summaryrefslogtreecommitdiff
path: root/app/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-10-05 17:49:19 -0400
committerJules Laplace <jules@okfoc.us>2016-10-05 17:49:19 -0400
commitae843591da0fea1a57684f26737be0b484718809 (patch)
tree547be3ae5d69c3568626a2f9ce9f35e034c82ed6 /app/index.js
parent95df0e83fdb7f564d64b6c916e674e0db46c116d (diff)
okpush template stuff
Diffstat (limited to 'app/index.js')
-rw-r--r--app/index.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/index.js b/app/index.js
index 34964de..b555b9a 100644
--- a/app/index.js
+++ b/app/index.js
@@ -51,8 +51,7 @@ function OKCMS(options) {
var adminLibRoot = this._adminLibRoot = adminConfig.libRoot ||
path.join(__dirname, '../themes/okadmin/public');
var adminTemplateRoot = adminConfig.templateRoot ||
- path.join(__dirname, '../themes/okadmin/templates');
-console.log(adminTheme, adminRoot)
+ path.join(__dirname, '../themes/okadmin/templates');
var debug = !!options.debug;
var production = !!options.production;
@@ -126,9 +125,11 @@ console.log(adminTheme, adminRoot)
break
default:
services[key] = config.lib({
- db: resourceCache,
express: express,
config: config,
+ meta: meta,
+ db: resourceCache,
+ errorHandler: errorHandler,
});
break
}