1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/common.php

18 lines
502 B
PHP
Raw Normal View History

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;
2015-01-16 14:23:05 +01:00
$container->register(new ServiceProvider\LoggingProvider);
$container->register(new ServiceProvider\DatabaseProvider);
$container->register(new ServiceProvider\ClassProvider);
$container->register(new ServiceProvider\EventDispatcherProvider);
$container->register(new ServiceProvider\MailerProvider);