Skip to content

Commit

Permalink
Allow force encoder URL
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielnetoDotCom committed Apr 2, 2021
1 parent 3191278 commit b247caf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions objects/configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,10 @@ function shouldUseEncodernetwork(){
}

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)) {
Expand Down

0 comments on commit b247caf

Please sign in to comment.