1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00

hide the "Import Local Videos" option

This commit is contained in:
daniel 2018-05-22 14:19:02 -03:00
parent 0a767f30da
commit 34d77ab3ef
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@ class CustomizeAdvanced extends PluginAbstract {
$obj = new stdClass();
$obj->doNotShowUploadMP4Button = true;
$obj->doNotShowImportMP4Button = false;
$obj->doNotShowImportLocalVideosButton = false;
$obj->doNotShowEncoderButton = false;
$obj->doNotShowEmbedButton = false;
$obj->doNotShowEncoderResolutionLow = false;

View file

@ -110,7 +110,7 @@ $updateFiles = getUpdatesFilesArray();
</li>
<?php
}
if (empty($advancedCustom->doNotShowImportMP4Button)) {
if (empty($advancedCustom->doNotShowImportLocalVideosButton)) {
?>
<li>
<a href="<?php echo $global['webSiteRootURL']; ?>view/import.php" >