enorme push

This commit is contained in:
2024-10-25 16:49:52 +02:00
parent 829d121268
commit 52faa489fa
23 changed files with 448 additions and 166 deletions

View File

@@ -1,6 +1,12 @@
<?php
require_once('../src/User.php');
require_once('../src/Twig.php');
session_start();
$SERVER_ROOT = $_SERVER['DOCUMENT_ROOT'] . "/tpCrudTwig";
require_once($SERVER_ROOT . "/src/User.php");
require_once($SERVER_ROOT . "/src/Twig.php");
renderTwig("users/index.twig", array("users" => GetUsers()));
$_SESSION['message'] = $_SESSION['error'] = "";