1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

Fix some warnings

This commit is contained in:
Daniel 2022-03-04 10:41:43 -03:00
parent 9d864a0961
commit beed34e4d7
3 changed files with 19 additions and 4 deletions

View file

@ -77,6 +77,7 @@ if (!empty($chat2) && !empty($chat2->useStaticLayout)) {
$col1Class = "col-md-8 col-lg-8";
$col2Class = "col-md-4 col-lg-4";
}
$global['doNotLoadPlayer'] = 1;
?>
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">

View file

@ -12,9 +12,10 @@ if ($objLive->allowMultipleLivesPerUser) {
}
}
}
$islive = isLive();
$islive = getLiveKey();
$liveStreamObject = new LiveStreamObject($islive['key'], $islive['live_servers_id'], @$_REQUEST['live_index'], 0);
$key = $liveStreamObject->getKeyWithIndex(true);
//var_dump(getLiveKey(), $islive, $key);exit;
?>
<style>
#streamkey{