1
0
Fork 0
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:
DanielnetoDotCom 2021-04-02 17:00:02 -03:00
parent 3191278769
commit b247cafa36

View file

@ -496,8 +496,10 @@ require_once \$global['systemRootPath'].'objects/include_config.php';
} }
function getEncoderURL() { function getEncoderURL() {
global $getEncoderURL, $advancedCustom; global $global, $getEncoderURL, $advancedCustom;
if(!empty($global['forceEncoderURL'])){
return $global['forceEncoderURL'];
}
if (empty($getEncoderURL)) { if (empty($getEncoderURL)) {
$getEncoderURL = ObjectYPT::getCache("getEncoderURL", 60); $getEncoderURL = ObjectYPT::getCache("getEncoderURL", 60);
if (empty($getEncoderURL)) { if (empty($getEncoderURL)) {