mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-30 21:30:14 +02:00
feat: improve error/exception ui (#3690)
This commit is contained in:
@@ -34,8 +34,9 @@ function render(string $template, array $context = []): string
|
||||
}
|
||||
|
||||
/**
|
||||
* Render template as absolute path or relative to templates folder.
|
||||
* Do not pass user input in $template
|
||||
* Render php template with context
|
||||
*
|
||||
* DO NOT PASS USER INPUT IN $template or $context
|
||||
*/
|
||||
function render_template(string $template, array $context = []): string
|
||||
{
|
||||
|
Reference in New Issue
Block a user