2014-10-04 23:22:23 +00:00
|
|
|
var path = require("path");
|
|
|
|
|
2014-10-03 23:33:44 +00:00
|
|
|
module.exports = {
|
2014-10-03 23:42:39 +00:00
|
|
|
HOME: (process.env.HOME || process.env.USERPROFILE) + "/.shout",
|
2014-10-03 23:33:44 +00:00
|
|
|
getConfig: getConfig
|
2014-09-13 12:23:17 +00:00
|
|
|
};
|
|
|
|
|
2014-10-03 23:33:44 +00:00
|
|
|
function getConfig() {
|
2014-10-04 23:22:23 +00:00
|
|
|
return require(path.resolve(this.HOME) + "/config");
|
2014-10-03 23:33:44 +00:00
|
|
|
};
|