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

14 lines
No EOL
412 B
PHP

<?php
global $global, $config;
if (!isset($global['systemRootPath'])) {
require_once '../videos/configuration.php';
}
if (!User::isAdmin()) {
gotToLoginAndComeBackHere(__("You can not manage plugins"));
exit;
}
$_page = new Page(array('Plugins'));
$_page->setIncludeInHead(array('view/managerPlugins_head.php'));
include $global['systemRootPath'] . 'view/managerPlugins_body.php';
$_page->print();
?>