1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
Oinktube/view/managerUsersGroups.php
2024-04-03 15:52:25 -03:00

14 lines
No EOL
481 B
PHP

<?php
global $global, $config;
if (!isset($global['systemRootPath'])) {
require_once '../videos/configuration.php';
}
require_once $global['systemRootPath'] . 'objects/user.php';
if (!Permissions::canAdminUserGroups()) {
forbiddenPage(__("You can not manage do this"));
}
$_page = new Page(array('User Groups'));
$_page->setIncludeInHead(array('view/managerUsersGroups_head.php'));
include $global['systemRootPath'] . 'view/managerUsersGroups_body.php';
$_page->print();
?>