diff --git a/public/templates/admin/header.tpl b/public/templates/admin/header.tpl index 4806594d82..5ea25324ed 100644 --- a/public/templates/admin/header.tpl +++ b/public/templates/admin/header.tpl @@ -107,7 +107,6 @@
  • Languages
  • Settings
  • Database
  • -
  • Logger
  • MOTD
  • Events
  • @@ -134,6 +133,14 @@ + + +
    diff --git a/src/routes/admin.js b/src/routes/admin.js index d94983eed0..39b2f19afe 100644 --- a/src/routes/admin.js +++ b/src/routes/admin.js @@ -45,6 +45,7 @@ var nconf = require('nconf'), username: userData.username, userslug: userData.userslug, 'cache-buster': meta.config['cache-buster'] ? 'v=' + meta.config['cache-buster'] : '', + env: process.env.NODE_ENV })); }); });