mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
696e319d11
commit
fe87f39b49
2 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,6 @@ function loadStandaloneConfiguration()
|
|||
if (file_exists($configFile)) {
|
||||
require_once $configFile;
|
||||
$streamerURL = $global['webSiteRootURL'];
|
||||
error_log("Rebroadcaster.json.php is using local configuration");
|
||||
if($isStandAlone){
|
||||
if (!isAPIKeyValid()) {
|
||||
die('Invalid API Key');
|
||||
|
|
|
@ -147,6 +147,7 @@
|
|||
// Remove dangerous characters
|
||||
$command = str_replace('&&', '', $command);
|
||||
$command = str_replace('rtmp://live/', 'rtmp://vlu.me/', $command);
|
||||
$command = str_replace('https://live:8443/', 'https://vlu.me:8443/', $command);
|
||||
|
||||
// Remove existing log file redirection (e.g., '> /path/to/log 2>&1' or '> /path/to/log')
|
||||
$command = preg_replace('/\s*>.*(?:2>&1)?/', '', $command);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue