You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
516 B
34 lines
516 B
<?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'); |
|
});
|
|
|