2014-07-20 12:26:15 +02:00
|
|
|
<?php
|
|
|
|
|
2014-12-22 19:15:38 +01:00
|
|
|
require 'vendor/autoload.php';
|
2014-10-22 19:59:09 +02:00
|
|
|
|
2014-07-20 12:26:15 +02:00
|
|
|
// Include custom config file
|
|
|
|
if (file_exists('config.php')) {
|
|
|
|
require 'config.php';
|
|
|
|
}
|
|
|
|
|
2014-10-22 19:59:09 +02:00
|
|
|
require __DIR__.'/constants.php';
|
2014-07-20 12:26:15 +02:00
|
|
|
|
2014-12-22 19:15:38 +01:00
|
|
|
$container = new Pimple\Container;
|
|
|
|
$container->register(new ServiceProvider\Logging);
|
|
|
|
$container->register(new ServiceProvider\Database);
|
|
|
|
$container->register(new ServiceProvider\Event);
|
|
|
|
$container->register(new ServiceProvider\Mailer);
|