parent
1a9a10c82b
commit
b474fb0d16
@ -1,5 +1,5 @@
|
|||||||
var config = require('./core/server/config'),
|
var config = require('./core/server/config'),
|
||||||
ghostVersion = require('./core/server/utils/ghost-version');
|
ghostVersion = require('./core/server/lib/ghost-version');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* knex-migrator can be used via CLI or within the application
|
* knex-migrator can be used via CLI or within the application
|
||||||
|
@ -6,7 +6,7 @@ var Promise = require('bluebird'),
|
|||||||
models = require('../models'),
|
models = require('../models'),
|
||||||
config = require('../config'),
|
config = require('../config'),
|
||||||
settingsCache = require('../services/settings/cache'),
|
settingsCache = require('../services/settings/cache'),
|
||||||
ghostVersion = require('../utils/ghost-version'),
|
ghostVersion = require('../lib/ghost-version'),
|
||||||
configuration;
|
configuration;
|
||||||
|
|
||||||
function fetchAvailableTimezones() {
|
function fetchAvailableTimezones() {
|
||||||
|
@ -2,7 +2,7 @@ var _ = require('lodash'),
|
|||||||
Promise = require('bluebird'),
|
Promise = require('bluebird'),
|
||||||
db = require('../../data/db'),
|
db = require('../../data/db'),
|
||||||
commands = require('../schema').commands,
|
commands = require('../schema').commands,
|
||||||
ghostVersion = require('../../utils/ghost-version'),
|
ghostVersion = require('../../lib/ghost-version'),
|
||||||
common = require('../../lib/common'),
|
common = require('../../lib/common'),
|
||||||
security = require('../../lib/security'),
|
security = require('../../lib/security'),
|
||||||
models = require('../../models'),
|
models = require('../../models'),
|
||||||
|
@ -32,7 +32,7 @@ var crypto = require('crypto'),
|
|||||||
urlService = require('./services/url'),
|
urlService = require('./services/url'),
|
||||||
common = require('./lib/common'),
|
common = require('./lib/common'),
|
||||||
request = require('./lib/request'),
|
request = require('./lib/request'),
|
||||||
currentVersion = require('./utils/ghost-version').full,
|
currentVersion = require('./lib/ghost-version').full,
|
||||||
internal = {context: {internal: true}},
|
internal = {context: {internal: true}},
|
||||||
checkEndpoint = config.get('updateCheckUrl') || 'https://updates.ghost.org';
|
checkEndpoint = config.get('updateCheckUrl') || 'https://updates.ghost.org';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
var ghostVersion = require('../../utils/ghost-version');
|
var ghostVersion = require('../../lib/ghost-version');
|
||||||
|
|
||||||
// ### GhostLocals Middleware
|
// ### GhostLocals Middleware
|
||||||
// Expose the standard locals that every request will need to have available
|
// Expose the standard locals that every request will need to have available
|
||||||
|
@ -5,7 +5,7 @@ var should = require('should'),
|
|||||||
|
|
||||||
// Stuff we are testing
|
// Stuff we are testing
|
||||||
exporter = require('../../server/data/export'),
|
exporter = require('../../server/data/export'),
|
||||||
ghostVersion = require('../../server/utils/ghost-version'),
|
ghostVersion = require('../../server/lib/ghost-version'),
|
||||||
|
|
||||||
sandbox = sinon.sandbox.create();
|
sandbox = sinon.sandbox.create();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user