diff --git a/docs b/docs index dfec70a8..4ed3a844 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit dfec70a8c5a6a6eca9e9d47e582141bc8a86aba8 +Subproject commit 4ed3a8447cf21c69322bcdaf149eb3ce0befe8c0 diff --git a/examples/downloadRenameBot.php b/examples/downloadRenameBot.php index 75d3c7d2..f8f9447a 100755 --- a/examples/downloadRenameBot.php +++ b/examples/downloadRenameBot.php @@ -99,7 +99,7 @@ class EventHandler extends \danog\MadelineProto\EventHandler if (!$url) { return; } - if (\strpos($url, 'http') !== 0) { + if (\stripos($url, 'http') !== 0) { $url = "http://$url"; } }