Skip to content

Commit

Permalink
Added curl and wget to bots
Browse files Browse the repository at this point in the history
  • Loading branch information
sergix44 committed Dec 9, 2018
1 parent 4aee250 commit 8e26b35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## v2.3.1
+ Fixed en lang.
+ Fixed forced background with dark themes.
+ Added checks during the installation wizard.
+ cURL and Wget can now directly download the file.

## v2.3
+ Improved image scaling in user gallery.
Expand Down
2 changes: 2 additions & 0 deletions app/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ function isBot(string $userAgent)
'Discordbot/',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0', // The discord service bot?
'Facebot',
'curl/',
'wget/',
];

foreach ($bots as $bot) {
Expand Down

0 comments on commit 8e26b35

Please sign in to comment.