summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/index.js7
-rw-r--r--app/node_modules/oktemplate/index.js2
2 files changed, 5 insertions, 4 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
}
diff --git a/app/node_modules/oktemplate/index.js b/app/node_modules/oktemplate/index.js
index ae9d1b1..2264938 100644
--- a/app/node_modules/oktemplate/index.js
+++ b/app/node_modules/oktemplate/index.js
@@ -37,7 +37,7 @@ var filters = {
};
/**
- * Manages templates. Only supports Mustache currently/
+ * Manages templates. Only supports Liquid currently/
*/
function OKTemplateRepo(options) {
options = options || {};