parent
6039937023
commit
6c98468d19
1 changed files with 4 additions and 1 deletions
|
@ -203,8 +203,11 @@ require([
|
||||||
|
|
||||||
jquery.get('/config.json', null, function(config) {
|
jquery.get('/config.json', null, function(config) {
|
||||||
|
|
||||||
|
var userConfig = {}
|
||||||
// merge user config into global config
|
// merge user config into global config
|
||||||
jquery.get('/fg-home/Phi/config.json', null, function(userConfig) {
|
var jqxhr = jquery.get('/fg-home/Phi/config.json', null, function(data) {
|
||||||
|
userConfig = data;
|
||||||
|
}).always(function(){
|
||||||
for ( var p in userConfig.plugins ) {
|
for ( var p in userConfig.plugins ) {
|
||||||
config.plugins[p] = userConfig.plugins[p];
|
config.plugins[p] = userConfig.plugins[p];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue