miniflux-legacy/index.php

24 lines
339 B
PHP
Raw Normal View History

2013-02-18 03:48:21 +01:00
<?php
2016-08-19 03:02:49 +02:00
require __DIR__.'/app/common.php';
2014-02-08 20:13:14 +01:00
2016-08-25 03:17:58 +02:00
use Miniflux\Router;
use Miniflux\Response;
2016-08-19 03:02:49 +02:00
Router\bootstrap(
__DIR__.'/app/controllers',
'common',
'console',
'user',
'config',
'item',
'history',
'bookmark',
'feed',
'search'
);
2014-02-08 20:13:14 +01:00
Router\notfound(function() {
Response\redirect('?action=unread');
});