mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
commit
7d98fab6c1
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue