'str(i)str(...)' could be replaced with 'str(i)pos(...)'.

(cherry picked from commit b4d079f)
This commit is contained in:
Yuriy Pikhtarev 2017-05-05 01:01:48 +03:00 committed by Vasily Komrakov
commit 8e5338e5d3
No known key found for this signature in database
GPG key ID: 558236680C20A69A
8 changed files with 14 additions and 14 deletions

View file

@ -378,7 +378,7 @@ define('SELECT', 6);
if (!empty($banned_user_agents)) {
foreach ($banned_user_agents as $agent) {
if (strstr(USER_AGENT, $agent)) {
if (false !== strpos(USER_AGENT, $agent)) {
$filename = 'Download files by using browser';
$output = '@';
header('Content-Type: text/plain');