mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
15 lines
No EOL
508 B
PHP
15 lines
No EOL
508 B
PHP
<?php
|
|
global $global, $config;
|
|
if (!isset($global['systemRootPath'])) {
|
|
require_once '../videos/configuration.php';
|
|
}
|
|
require_once $global['systemRootPath'] . 'objects/user.php';
|
|
if (!Permissions::canAdminUsers()) {
|
|
header("Location: {$global['webSiteRootURL']}?error=" . __("You can not manage users"));
|
|
exit;
|
|
}
|
|
$_page = new Page(array('Users'));
|
|
$_page->setIncludeInHead(array('view/managerUsers_head.php'));
|
|
include $global['systemRootPath'] . 'view/managerUsers_body.php';
|
|
$_page->print();
|
|
?>
|