mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Merge pull request #656 from roramirez/env-config-file-pl
Code change discussion Pull Request #653
This commit is contained in:
commit
9bd42ac221
@ -48,10 +48,9 @@ var App = function() {
|
||||
|
||||
// For this check proposed to TestSuite
|
||||
// https://forum.magicmirror.builders/topic/1456/test-suite-for-magicmirror/8
|
||||
if (global.configuration_file === undefined ) {
|
||||
var configFilename = path.resolve(global.root_path + "/config/config.js");
|
||||
} else {
|
||||
var configFilename = path.resolve(global.configuration_file);
|
||||
if (typeof(global.configuration_file) === "undefined" ) {
|
||||
configFilename = path.resolve(global.configuration_file);
|
||||
}
|
||||
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user