From 8d173d369d65bca14a6538c5c722be5d55eba374 Mon Sep 17 00:00:00 2001 From: slawkens1 Date: Thu, 28 Dec 2017 15:51:33 +0100 Subject: [PATCH] * added ico to the list of ignored files --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index bec7841a..ffbbca60 100644 --- a/index.php +++ b/index.php @@ -51,7 +51,7 @@ if(preg_match("/^[A-Za-z0-9-_%\'+]+\.png$/i", $uri)) { include(TOOLS . 'signature/index.php'); exit(); } -else if(preg_match("/^(.*)\.(gif|jpg|png|jpeg|tiff|bmp|css|js|less|map|html|php|zip|rar|gz|ttf|woff)$/i", $_SERVER['REQUEST_URI'])) { +else if(preg_match("/^(.*)\.(gif|jpg|png|jpeg|tiff|bmp|css|js|less|map|html|php|zip|rar|gz|ttf|woff|ico)$/i", $_SERVER['REQUEST_URI'])) { header("HTTP/1.0 404 Not Found"); exit; }