mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
added config as global :dull:
This commit is contained in:
@@ -641,6 +641,8 @@ app.cacheBuster = null;
|
|||||||
|
|
||||||
socketIOConnect();
|
socketIOConnect();
|
||||||
|
|
||||||
|
templates.setGlobal('config', config);
|
||||||
|
|
||||||
app.cacheBuster = config['cache-buster'];
|
app.cacheBuster = config['cache-buster'];
|
||||||
|
|
||||||
require(['csrf'], function(csrf) {
|
require(['csrf'], function(csrf) {
|
||||||
|
|||||||
Reference in New Issue
Block a user