blob: 613d45014031a4601f5337d7d450962893a18c38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
// Common file between cli and web interface
require 'vendor/autoload.php';
// Include custom config file
if (file_exists('config.php')) {
require 'config.php';
}
require __DIR__.'/constants.php';
$registry = new Core\Registry;
$registry->db = setup_db();
$registry->event = setup_events();
$registry->mailer = function() { return setup_mailer(); };
|