1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00
Daniel Neto 2023-06-22 09:53:20 -03:00
parent 6e4466d4b2
commit 2cc7e5ac15

View file

@ -33,7 +33,7 @@ class CookieAlert extends PluginAbstract {
private function doNotShow(){ private function doNotShow(){
$baseName = basename($_SERVER["SCRIPT_FILENAME"]); $baseName = basename($_SERVER["SCRIPT_FILENAME"]);
if(isEmbed() || preg_match("/embed/i", $baseName) || !empty($_GET['embed'])){ if(isEmbed() || preg_match("/embed/i", $baseName) || preg_match("/chat2/i", $baseName) || !empty($_GET['embed'])){
return true; return true;
} }
return false; return false;