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

17 lines
403 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;
$container->register(new ServiceProvider\Logging);
$container->register(new ServiceProvider\Database);
$container->register(new ServiceProvider\Event);
$container->register(new ServiceProvider\Mailer);