0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Merge pull request #1551 from danschumann/patch-1

Update base.js
This commit is contained in:
Hannah Wolfe 2013-11-24 01:45:56 -08:00
commit 7d98fab6c1

View file

@ -10,7 +10,7 @@ var ghostBookshelf,
sanitize = require('validator').sanitize;
// Initializes a new Bookshelf instance, for reference elsewhere in Ghost.
ghostBookshelf = Bookshelf.ghost = Bookshelf.initialize(config[process.env.NODE_ENV || 'development'].database);
ghostBookshelf = Bookshelf.ghost = Bookshelf.initialize(config[process.env.NODE_ENV].database);
ghostBookshelf.client = config[process.env.NODE_ENV].database.client;
ghostBookshelf.validator = new Validator();