include-adm-zip #37
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ const router = express.Router();
|
||||||
const FileHound = require('filehound');
|
const FileHound = require('filehound');
|
||||||
const fs = require('fs-extra');
|
const fs = require('fs-extra');
|
||||||
const settings = new Settings();
|
const settings = new Settings();
|
||||||
|
const moment = require('moment');
|
||||||
var config = [];
|
var config = [];
|
||||||
//--------------------------
|
//--------------------------
|
||||||
// SETTINGS
|
// SETTINGS
|
||||||
|
@ -39,6 +40,7 @@ router.get('/', function (req, res) {
|
||||||
status: true,
|
status: true,
|
||||||
themes: themes,
|
themes: themes,
|
||||||
settings: config,
|
settings: config,
|
||||||
|
last_backup: moment(config.global.last_backup).fromNow(),
|
||||||
member: memberInfo[0]
|
member: memberInfo[0]
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue