fix notices running on php-8.2

This commit is contained in:
2026-02-26 22:59:41 +03:00
parent 9af0df3cca
commit e3994d6f9f
2 changed files with 4 additions and 10 deletions
+2 -9
View File
@@ -35,8 +35,6 @@ $kindofrole = $user->present()->role_id;
//$iduserlogin="1";
//$nameuser="Claudio";
//$emailuser="info@claudiosironi.com";
?>
<?php
if (session_status() == PHP_SESSION_NONE) {
session_start();
}
@@ -49,13 +47,8 @@ $_SESSION["emailuser"] = $emailuser;
$_SESSION["photouser"] = $avatar;
$photouser = $_SESSION["photouser"];
$photousername = basename($avatar);
?>
<?php //include files
//include files
require_once(__DIR__ . '/../../languages/en/general.php');
//include("generalsettings.php");
?>
//include("generalsettings.php");