mirror of
https://codeberg.org/ThisIsMiseryy/techstore
synced 2026-05-14 14:52:04 +00:00
Fix problemi sessione Apache
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
include '../db_conf.php';
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="it">
|
<html lang="it">
|
||||||
<head>
|
<head>
|
||||||
@@ -8,9 +12,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
|
||||||
include '../db_conf.php';
|
|
||||||
|
|
||||||
if (!isset($_SESSION['id'])) {
|
if (!isset($_SESSION['id'])) {
|
||||||
header('Location: ../login.php');
|
header('Location: ../login.php');
|
||||||
exit();
|
exit();
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
include '../db_conf.php';
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="it">
|
<html lang="it">
|
||||||
<head>
|
<head>
|
||||||
@@ -8,9 +12,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
|
||||||
include '../db_conf.php';
|
|
||||||
|
|
||||||
if (!isset($_SESSION['id'])) {
|
if (!isset($_SESSION['id'])) {
|
||||||
header('Location: ../login.php');
|
header('Location: ../login.php');
|
||||||
exit();
|
exit();
|
||||||
|
|||||||
Reference in New Issue
Block a user