20 lines
434 B
JavaScript
20 lines
434 B
JavaScript
module.exports = app => {
|
|
global.appPath = __dirname;
|
|
|
|
process.env.OPENSSL_CONF = '/etc/ssl/';
|
|
|
|
// Init database instance
|
|
require('./core/database').init();
|
|
// Init SMTP Instance
|
|
require('./core/smtp').init();
|
|
|
|
require('./core/router')(app);
|
|
|
|
require('./core/mixins');
|
|
require('./core/filters');
|
|
require('./core/directives');
|
|
// require('./core/components/email-header/email-header');
|
|
};
|
|
|
|
|