-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
39 lines (28 loc) · 1.24 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//----------------------------------------------------------------------------------------------------------------------
// A simple configuration file. To add a configuration key, do so in the module.exports object.
//
// @module config.js
//----------------------------------------------------------------------------------------------------------------------
module.exports = {
// A simple get function that works like python's dictionary 'get'
get: function (key, defaultValue)
{
if(key in module.exports)
{
return module.exports[key];
} // end if
return defaultValue;
},
// Whether or not the site's in DEBUG mode
debug: true,
// Website port
port: 7070,
// Title of the application
title: "Deluge CMS",
// Directory containing templates for the pages app
//pageTemplates: './client/templates',
// Directory containing templates for the articles app
//articleTemplates: './client/templates',
}; // end exports
//----------------------------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------------------------