mirror of
https://codeberg.org/ThisIsMiseryy/techstore
synced 2026-11-12 12:21:53 +00:00
Fix problemi sessione Apache
This commit is contained in:
2 files changed
+8
-6
No files matched your search
@@ -1,3 +1,7 @@
|
||||
<?php
|
||||
session_start();
|
||||
include '../db_conf.php';
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="it">
|
||||
<head>
|
||||
@@ -8,9 +12,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
session_start();
|
||||
include '../db_conf.php';
|
||||
|
||||
if (!isset($_SESSION['id'])) {
|
||||
header('Location: ../login.php');
|
||||
exit();
|
||||
|
||||
Reference in new issue
Block a user