diff options
author | cflip <36554078+cflip@users.noreply.github.com> | 2021-04-24 19:50:59 -0600 |
---|---|---|
committer | cflip <36554078+cflip@users.noreply.github.com> | 2021-04-24 19:50:59 -0600 |
commit | fe3e6194d33d63f149f2a362adf325019278d61e (patch) | |
tree | 29242725a90a10d3d7870fac039d86cbaa5c3e5c /includes/reply_inc.php | |
parent | 2098bf444afadcf0363d89b4cc1dca5d2213d754 (diff) |
Use Session class instead of $_SESSION
Diffstat (limited to 'includes/reply_inc.php')
-rw-r--r-- | includes/reply_inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/reply_inc.php b/includes/reply_inc.php index 588b59f..873d516 100644 --- a/includes/reply_inc.php +++ b/includes/reply_inc.php @@ -7,7 +7,7 @@ if ($_SERVER['REQUEST_METHOD'] != 'POST') { die('This file cannot be called directly.'); } -if (!isset($_SESSION['signed_in'])) { +if (!Session::get()->is_signed_in()) { die('You must be signed in to reply to a thread.'); } |