mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 16:17:28 +02:00
feat: system alert message (#3139)
This commit is contained in:
@@ -17,6 +17,7 @@ function render(string $template, array $context = []): string
|
||||
if ($template === 'base.html.php') {
|
||||
throw new \Exception('Do not render base.html.php into itself');
|
||||
}
|
||||
$context['system_message'] = Configuration::getConfig('system', 'message');
|
||||
$context['page'] = render_template($template, $context);
|
||||
return render_template('base.html.php', $context);
|
||||
}
|
||||
|
Reference in New Issue
Block a user