mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
18 lines
No EOL
559 B
PHP
18 lines
No EOL
559 B
PHP
<?php
|
|
global $global, $config;
|
|
if (!isset($global['systemRootPath'])) {
|
|
require_once '../videos/configuration.php';
|
|
}
|
|
require_once $global['systemRootPath'] . 'objects/user.php';
|
|
require_once $global['systemRootPath'] . 'objects/functions.php';
|
|
require_once $global['systemRootPath'] . 'admin/functions.php';
|
|
|
|
if (!User::isAdmin()) {
|
|
forbiddenPage('');
|
|
}
|
|
|
|
$_page = new Page(array('Configuration'));
|
|
$_page->setIncludeInHead(array('view/configurations_head.php'));
|
|
include $global['systemRootPath'] . 'view/configurations_body.php';
|
|
$_page->print();
|
|
?>
|