Browse Source

Added curl and wget to bots

Sergio Brighenti 6 years ago
parent
commit
8e26b35e2a
2 changed files with 4 additions and 0 deletions
  1. 2 0
      CHANGELOG.md
  2. 2 0
      app/helpers.php

+ 2 - 0
CHANGELOG.md

@@ -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.

+ 2 - 0
app/helpers.php

@@ -142,6 +142,8 @@ if (!function_exists('isBot')) {
 			'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) {