lib/startApplication.js
function loadAppConfigToContext(appName, config, path, commonPath, initObjectTemplateFunc, sessionStore) {
    let amorphicOptions = AmorphicContext.amorphicOptions;

    AmorphicContext.applicationConfig[appName] = {
        appPath:                path,
        commonPath:             commonPath,
        initObjectTemplate:     initObjectTemplateFunc,
        sessionExpiration:      amorphicOptions.sessionExpiration,
        objectCacheExpiration:  amorphicOptions.objectCacheExpiration,
        sessionStore:           sessionStore,
        appVersion:             config.ver,
        appConfig:              config,
        logLevel:               fetchFromConfig(appName, config, 'logLevel') || 'info'
    };
}
function loadAppConfigToContext(appName, config, path, commonPath, initObjectTemplateFunc, sessionStore) {
    let amorphicOptions = AmorphicContext.amorphicOptions;

    AmorphicContext.applicationConfig[appName] = {
        appPath:                path,
        commonPath:             commonPath,
        initObjectTemplate:     initObjectTemplateFunc,
        sessionExpiration:      amorphicOptions.sessionExpiration,
        objectCacheExpiration:  amorphicOptions.objectCacheExpiration,
        sessionStore:           sessionStore,
        appVersion:             config.ver,
        appConfig:              config,
        logLevel:               fetchFromConfig(appName, config, 'logLevel') || 'info'
    };
}
function loadAppConfigToContext ( appName , config , path , commonPath , initObjectTemplateFunc , sessionStore ) { let amorphicOptions = AmorphicContext . amorphicOptions ; AmorphicContext . applicationConfig [ appName ] = { appPath : path , commonPath : commonPath , initObjectTemplate : initObjectTemplateFunc , sessionExpiration : amorphicOptions . sessionExpiration , objectCacheExpiration : amorphicOptions . objectCacheExpiration , sessionStore : sessionStore , appVersion : config . ver , appConfig : config , logLevel : fetchFromConfig ( appName , config , 'logLevel' ) || 'info' } ; }
Loads the the applicationConfig for a given app.

@param {String} appName - The app name.
@param {Object} config - The app specific config from the config store.
@param {String} path - The path for app files.
@param {String} commonPath - The path for common files.
@param {Function} initObjectTemplateFunc - The function to inject props on all templates.
@param {Object} sessionStore - unknown
Loads the the applicationConfig for a given app .