moved core templates into nodebb core (admin, status pages, emails)

This commit is contained in:
psychobunny
2014-09-24 13:45:05 -04:00
parent 4eabf41a21
commit 64b43d58ea
40 changed files with 1786 additions and 2 deletions

1
app.js
View File

@@ -99,6 +99,7 @@ function loadConfig() {
// Ensure themes_path is a full filepath
nconf.set('themes_path', path.resolve(__dirname, nconf.get('themes_path')));
nconf.set('core_templates_path', path.join(__dirname, 'src/views'));
nconf.set('base_templates_path', path.join(nconf.get('themes_path'), 'nodebb-theme-vanilla/templates'));
}