Some important fix

This commit is contained in:
novgorodschi catalin
2026-08-10 10:34:49 +03:00
parent da58de16b4
commit d325fce01f
9 changed files with 64 additions and 24 deletions
+5 -1
View File
@@ -13,7 +13,11 @@
// #299: load CSRF helpers + admin_deny() before the access check below.
require_once(__DIR__ . '/../csrf.php');
session_start();
// csrf.php porneste deja sesiunea; un al doilea apel doar genereaza un Notice.
if (session_status() === PHP_SESSION_NONE) {
session_start();
}
include_once("../../config.php");
include_once("../../Database.php");