blob: 12132189d3b110f61af67d5edc9b74cfbabb01e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
require 'vendor/autoload.php';
// Include custom config file
if (file_exists('config.php')) {
require 'config.php';
}
require __DIR__.'/constants.php';
$container = new Pimple\Container;
$container->register(new ServiceProvider\LoggingProvider);
$container->register(new ServiceProvider\DatabaseProvider);
$container->register(new ServiceProvider\ModelProvider);
$container->register(new ServiceProvider\EventDispatcherProvider);
$container->register(new ServiceProvider\MailerProvider);
|