82df35a59b
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
27 lines
574 B
PHP
27 lines
574 B
PHP
<?php
|
|
|
|
namespace Miniflux\Controller;
|
|
|
|
use Miniflux\Model;
|
|
use Miniflux\Router;
|
|
use Miniflux\Response;
|
|
use Miniflux\Session\SessionStorage;
|
|
use Miniflux\Template;
|
|
|
|
// Display help page
|
|
Router\get_action('help', function () {
|
|
$user_id = SessionStorage::getInstance()->getUserId();
|
|
|
|
Response\html(Template\layout('help', array(
|
|
'config' => Model\Config\get_all($user_id),
|
|
'menu' => 'config',
|
|
'title' => t('Preferences')
|
|
)));
|
|
});
|
|
|
|
// Show help
|
|
Router\get_action('show-help', function () {
|
|
Response\html(Template\load('show_help'));
|
|
});
|
|
|