miniflux-legacy/index.php
2017-02-01 17:25:32 -05:00

35 lines
516 B
PHP

<?php
require __DIR__.'/app/common.php';
use Miniflux\Router;
use Miniflux\Response;
register_shutdown_function(function () {
Miniflux\Helper\write_debug_file();
});
Router\bootstrap(
__DIR__.'/app/controllers',
'common',
'about',
'api',
'auth',
'bookmark',
'config',
'feed',
'groups',
'help',
'history',
'item',
'opml',
'profile',
'search',
'services',
'users'
);
Router\notfound(function() {
Response\redirect('?action=unread');
});