mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
49b16700bb
commit
7449e917f0
2 changed files with 2 additions and 2 deletions
|
@ -209,7 +209,7 @@ if(empty(\$global['webSiteRootPath'])){
|
||||||
\$mysqlDatabase = '{$_POST['databaseName']}';
|
\$mysqlDatabase = '{$_POST['databaseName']}';
|
||||||
|
|
||||||
//\$global['stopBotsList'] = array('bot','spider','rouwler','Nuclei','MegaIndex','NetSystemsResearch','CensysInspect','slurp','crawler','curl','fetch','loader');
|
//\$global['stopBotsList'] = array('bot','spider','rouwler','Nuclei','MegaIndex','NetSystemsResearch','CensysInspect','slurp','crawler','curl','fetch','loader');
|
||||||
//\$global['stopBotsWhiteList'] = array('google','bing','yahoo','yandex');
|
//\$global['stopBotsWhiteList'] = array('google','bing','yahoo','yandex','twitter');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Do NOT change from here
|
* Do NOT change from here
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
//$global['stopBotsList'] = array('bot','spider','rouwler','Nuclei','MegaIndex','NetSystemsResearch','CensysInspect','slurp','crawler','curl','fetch','loader');
|
//$global['stopBotsList'] = array('bot','spider','rouwler','Nuclei','MegaIndex','NetSystemsResearch','CensysInspect','slurp','crawler','curl','fetch','loader');
|
||||||
//$global['stopBotsWhiteList'] = array('google','bing','yahoo','yandex');
|
//$global['stopBotsWhiteList'] = array('google','bing','yahoo','yandex','twitter');
|
||||||
if (!empty($global['stopBotsList']) && is_array($global['stopBotsList'])) {
|
if (!empty($global['stopBotsList']) && is_array($global['stopBotsList'])) {
|
||||||
foreach ($global['stopBotsList'] as $value) {
|
foreach ($global['stopBotsList'] as $value) {
|
||||||
if(empty($_SERVER['HTTP_USER_AGENT'])){
|
if(empty($_SERVER['HTTP_USER_AGENT'])){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue