File cleanup in progress

This commit is contained in:
Michał Gdula 2022-08-01 10:31:23 +01:00
parent b58588fe85
commit 47aa830771
8 changed files with 202 additions and 117 deletions

View file

@ -15,7 +15,7 @@
include_once("ui/conn.php");
// Check if user is logged in
if (isset($_SESSION["loggedin"]) && $_SESSION["loggedin"] === true) {
if (loggedin()) {
// User is logged in
} else {
$error = "You must be logged in to upload images";