mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
369fd2c6bd
refs #6165
10 lines
235 B
JavaScript
10 lines
235 B
JavaScript
var config = require('../config'),
|
|
flagIsSet;
|
|
|
|
flagIsSet = function flagIsSet(flag) {
|
|
var labsConfig = config.labs;
|
|
|
|
return labsConfig && labsConfig[flag] && labsConfig[flag] === true;
|
|
};
|
|
|
|
module.exports.isSet = flagIsSet;
|