From 71b50628b45862260b810c6bafcd182521b228fa Mon Sep 17 00:00:00 2001 From: anton Date: Wed, 2 Jul 2014 20:33:24 +0400 Subject: [PATCH] fix cs-cart detecting can be verified on http://demo.cs-cart.com/ , http://www.juliettesinteriors.co.uk/ or other from http://www.cs-cart.com/live-stores.html --- share/apps.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/apps.json b/share/apps.json index e55f946bb..9d32d625e 100644 --- a/share/apps.json +++ b/share/apps.json @@ -628,7 +628,7 @@ "website": "www.cs-cart.com", "cats": [ 6 ], "env": "^fn_compare_strings$", - "html": " Powered by (?:]+cs-cart\\.com|CS-Cart)", + "html": [" Powered by (?:]+cs-cart\\.com|CS-Cart)", "(?:\\$|jQuery)\\.runCart\\('\\w'\\)"], "implies": "PHP" }, "CubeCart": { @@ -1836,7 +1836,7 @@ "MODx": { "website": "modxcms.com", "cats": [ 1 ], - "html": "(?:]+>Powered by MODx|<(?:link|script)[^>]+assets/snippets/)", + "html": ["]+>Powered by MODx", "<(?:link|script)[^>]+assets/(?:templates|components|snippets)/\\;confidence:80"], "env": "^MODX_MEDIA_PATH$", "headers": { "X-Powered-By": "^MODx", "Set-Cookie": "SN4[a-f\\d]{12}" }, "implies": "PHP"