This is a major change for the next release of Miniflux. - There is now only one database that can supports multiple users - There is no automated schema migration for this release - A migration procedure is available in the ChangeLog file
34 lines
502 B
PHP
34 lines
502 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',
|
|
'help',
|
|
'history',
|
|
'item',
|
|
'opml',
|
|
'profile',
|
|
'search',
|
|
'services',
|
|
'users'
|
|
);
|
|
|
|
Router\notfound(function() {
|
|
Response\redirect('?action=unread');
|
|
});
|