From fcaa5a2e63499568dd916e7b18f950b311781bd0 Mon Sep 17 00:00:00 2001 From: Pentomino Date: Sat, 3 Jun 2017 16:10:36 +0200 Subject: [PATCH] added jpeg as picture extension --- src/app/level2/Level2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/level2/Level2.php b/src/app/level2/Level2.php index 6d146d0..1d4c110 100644 --- a/src/app/level2/Level2.php +++ b/src/app/level2/Level2.php @@ -6,7 +6,7 @@ use DateTime; class Level2 { - public static $imageMatch = 'https?:\/\/[^ ]+?(?:\.jpg|\.png|\.gif|\.svg)'; + public static $imageMatch = 'https?:\/\/[^ ]+?(?:\.jpg|\.jpeg|\.png|\.gif|\.svg)'; public static $urlMatch = '\b(?:(?:https?|ftp|file):\/\/|www\.|ftp\.)[-A-Z0-9+&@#\/%=~_|$\(\)?!:,.]*[A-Z0-9+&@#\/%=~_|$]'; public static function getStatus($app)