mirror of
https://github.com/error311/FileRise.git
synced 2026-04-29 00:10:53 -05:00
auth and session changes
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
require 'config.php';
|
||||
session_start();
|
||||
header('Content-Type: application/json');
|
||||
if (!isset($_SESSION['authenticated']) || $_SESSION['authenticated'] !== true ||
|
||||
!isset($_SESSION['isAdmin']) || $_SESSION['isAdmin'] !== true) {
|
||||
|
||||
Reference in New Issue
Block a user