mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Allow force encoder URL
This commit is contained in:
parent
3191278769
commit
b247cafa36
1 changed files with 4 additions and 2 deletions
|
@ -496,8 +496,10 @@ require_once \$global['systemRootPath'].'objects/include_config.php';
|
|||
}
|
||||
|
||||
function getEncoderURL() {
|
||||
global $getEncoderURL, $advancedCustom;
|
||||
|
||||
global $global, $getEncoderURL, $advancedCustom;
|
||||
if(!empty($global['forceEncoderURL'])){
|
||||
return $global['forceEncoderURL'];
|
||||
}
|
||||
if (empty($getEncoderURL)) {
|
||||
$getEncoderURL = ObjectYPT::getCache("getEncoderURL", 60);
|
||||
if (empty($getEncoderURL)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue