New router and associated pages
This commit is contained in:
parent
68dcb996c9
commit
bed471d75a
12 changed files with 133 additions and 114 deletions
16
onyx/include/team/team.php
Normal file
16
onyx/include/team/team.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
if(!defined('ONYX')) exit;
|
||||
|
||||
try
|
||||
{
|
||||
$team = new Team($TEAM);
|
||||
|
||||
$template->assign("team", $team);
|
||||
|
||||
return "team/team";
|
||||
}
|
||||
catch($e)
|
||||
{
|
||||
return "404";
|
||||
}
|
||||
Reference in a new issue