From 648b928b4e6b2c7e385c73ffb0c40097d47fbaa7 Mon Sep 17 00:00:00 2001 From: Dawid Bepierszcz <41084667+daffyyyy@users.noreply.github.com> Date: Sun, 19 Nov 2023 21:10:55 +0100 Subject: [PATCH] Update index.php --- website/index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/website/index.php b/website/index.php index 6082d688..08f159d8 100644 --- a/website/index.php +++ b/website/index.php @@ -7,9 +7,7 @@ require_once 'class/utils.php'; $db = new DataBase(); if (isset($_SESSION['steamid'])) { - - include('steamauth/userInfo.php'); - $steamid = $steamprofile['steamid']; + $steamid = $_SESSION['steamid']; $weapons = UtilsClass::getWeaponsFromArray(); $skins = UtilsClass::skinsFromJson();