<?php 

defined( 'ADMIN_MOD_DIR' ) OR DIE;


//! Add Support Ticket Menu For Admin

uss::$global['menu']->add('ticket', array(
	'label' => 'tickets',
	'icon' => "<i class='mdi mdi-ticket-outline'></i>",
	'href' => core::url( ROOT_DIR . '/' . ( $FOCUS = ADMIN_FOCUS_URI . '/ticket' ) ),
	'active' => preg_match( "~^{$FOCUS}~", $_GET['query'] )
));


//! Create The Ticket Handler

require __DIR__ . '/tickets.php';
require __DIR__ . '/chats.php';

