mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-17 11:10:57 +01:00
I have removed the directory management features from Gitter and ported them to GitList, since they are application-specific logic. I was unhappy with the way directories and multiple directories were handled, so i altered almost everything. The tests are OK, but the coverage is not good. This means that i'll need som help from all GitList users that are actively testing the development version with multiple directories. I have removed the directory caching feature for now, it will be re-implemented soon.
13 lines
374 B
PHP
13 lines
374 B
PHP
<?php
|
|
|
|
// Startup and configure Silex application
|
|
$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());
|
|
|
|
return $app;
|