From b0099a4aba2e40a2e0cfc59a4b70010dc24c4d86 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Thu, 11 Oct 2012 16:22:40 +0200 Subject: [PATCH] Add plugin-specific sections in settings.json Settings for specific plugins are written down as below: { ... "ep_pluginname": { "foo":"bar" } ... } --- src/node/utils/Settings.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node/utils/Settings.js b/src/node/utils/Settings.js index dd34ac5ee..9fa3e7d6c 100644 --- a/src/node/utils/Settings.js +++ b/src/node/utils/Settings.js @@ -135,7 +135,8 @@ for(var i in settings) } //we know this setting, so we overwrite it - if(exports[i] !== undefined) + //or it's a settings hash, specific to a plugin + if(exports[i] !== undefined || i.indexOf('ep_')==0) { exports[i] = settings[i]; }