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

14 lines
No EOL
392 B
PHP

<?php
global $global, $config;
if (!isset($global['systemRootPath'])) {
require_once '../../videos/configuration.php';
}
if (!User::isAdmin()) {
forbiddenPage("You can not do this");
exit;
}
$_page = new Page(array('VAST'));
$_page->setIncludeInHead(array('plugin/AD_Server/index_head.php'));
$_page->setIncludeInBody(array('plugin/AD_Server/index_body.php'));
$_page->print();
?>