mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
parent
029ac1b5c7
commit
d5b5ea9bd8
2 changed files with 9 additions and 2 deletions
|
@ -10,6 +10,12 @@ $_POST['sort']["created"] = "DESC";
|
|||
$_POST['current'] = 1;
|
||||
$_REQUEST['rowCount'] = getRowCount();
|
||||
|
||||
$advancedCustom = AVideoPlugin::getDataObject('CustomizeAdvanced');
|
||||
|
||||
if(!empty($advancedCustom->disableFeeds)){
|
||||
forbiddenPage('Feeds are disabled');
|
||||
}
|
||||
|
||||
if(empty($config)){
|
||||
require_once $global['systemRootPath'] . 'objects/configuration.php';
|
||||
$config = new AVideoConf();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue