mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Prevent post pages being accessed directly
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
// Ticket Templates
|
||||
|
||||
defined('FROM_POST_HANDLER') || die("Direct file access is not allowed");
|
||||
|
||||
// Import shared code from user-side tickets/tasks as we reuse functions
|
||||
require_once 'post/user/ticket.php';
|
||||
require_once 'post/user/task.php';
|
||||
|
||||
Reference in New Issue
Block a user