Update init.php

This commit is contained in:
slawkens 2023-11-11 21:16:45 +01:00
parent f008591580
commit 8b5464f8f8

View File

@ -54,6 +54,9 @@ require_once SYSTEM . 'twig.php';
$action = $_REQUEST['action'] ?? '';
define('ACTION', $action);
// errors, is also often used
$errors = [];
// trim values we receive
if(isset($_POST))
{