1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
Letting knwo what bot was found
This commit is contained in:
DanielnetoDotCom 2021-04-12 10:55:26 -03:00
parent 547a700c72
commit b3d61a7eb3

View file

@ -3,7 +3,7 @@
if(!empty($global['stopBotsList']) && is_array($global['stopBotsList'])){
foreach ($global['stopBotsList'] as $value) {
if(stripos($_SERVER['HTTP_USER_AGENT'],$value) !== false){
die('Bot Found');
die('Bot Found '.$_SERVER['HTTP_USER_AGENT']);
}
}
}