<?php 

defined( 'UADMIN_DIR' ) OR DIE;


//! Add Support Ticket Menu For Admin

Uss::$global['menu']->add('ticket', array(
	'label' => 'tickets',
	'icon' => "<i class='bi bi-chat-right-text'></i>",
	'href' => core::url( ROOT_DIR . '/' . ( $FOCUS = UADMIN_ROUTE . '/ticket' ) ),
	'active' => preg_match( "~^{$FOCUS}~", implode("/", Uss::query()) )
));


//! Create The Ticket Handler

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

