Make $action global (required by many scripts)

This commit is contained in:
slawkens
2025-03-16 09:40:52 +01:00
parent b047f73fe6
commit 31d2a3bde8
2 changed files with 2 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ class RouterService
{
public function handleRouting(): array
{
global $content, $template_path, $template;
global $content, $template_path, $template, $canEdit, $action;
$db = app()->get('database');
$twig = app()->get('twig');