using nconf to manage config file now (issue #24)

This commit is contained in:
Julian Lam
2013-07-16 15:22:59 -04:00
parent 41b3eabf1a
commit 145898c3ba
13 changed files with 198 additions and 202 deletions

View File

@@ -181,7 +181,7 @@
if (!templates[tpl_url] || !template_data) return;
if(typeof global !== "undefined")
template_data['relative_path'] = global.config.relative_path;
template_data['relative_path'] = global.nconf.get('relative_path');
else
template_data['relative_path'] = RELATIVE_PATH;