forked from klaussilveira/gitlist
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboot.php
More file actions
17 lines (14 loc) · 657 Bytes
/
boot.php
File metadata and controls
17 lines (14 loc) · 657 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
// This is where we move to Symfony form Silex
// Startup and configure Silex application
// https://github.com/symfony/symfony-docs/issues/8678
$app = new GitList\Application($config, __DIR__);
// Mount the controllers
$app->mount('', new GitList\Controller\MainController());
$app->mount('', new GitList\Controller\BlobController());
$app->mount('', new GitList\Controller\CommitController());
$app->mount('', new GitList\Controller\TreeController());
$app->mount('', new GitList\Controller\NetworkController());
$app->mount('', new GitList\Controller\TreeGraphController());
$app->mount('', new GitList\Controller\GitController());
return $app;