mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-29 06:43:11 +00:00
File cleanup in progress
This commit is contained in:
parent
b58588fe85
commit
47aa830771
8 changed files with 202 additions and 117 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue