From 28f54ced5477d78ba12fb772ddf248085610ce86 Mon Sep 17 00:00:00 2001 From: Pier Paolo Ramon Date: Tue, 20 Mar 2012 14:51:28 +0100 Subject: [PATCH] Little enhancements for Liferay Portal (using ALSO headers) --- share/js/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/js/apps.js b/share/js/apps.js index 0746eac8b..bd2b2f051 100644 --- a/share/js/apps.js +++ b/share/js/apps.js @@ -168,7 +168,7 @@ 'Koobi': { cats: { 1: 1 }, meta: { 'generator': /Koobi/i } }, 'lighttpd': { cats: { 1: 22 }, headers: { 'Server': /lighttpd/i } }, 'LiveJournal': { cats: { 1: 11 }, url: /^(www.)?.+\.livejournal\.com/i }, - 'Liferay': { cats: { 1: 1 }, env: /^Liferay$/ }, + 'Liferay': { cats: { 1: 1 }, env: /^Liferay$/, headers: { 'Liferay-Portal': /Liferay/i } }, 'Lotus Domino': { cats: { 1: 22 }, headers: { 'Server': /Lotus\-Domino/i } }, 'Magento': { cats: { 1: 6 }, script: /\/(js\/mage|skin\/frontend\/(default|enterprise))\//, env: /^(Mage|VarienForm)$/ }, 'Mambo': { cats: { 1: 1 }, meta: { 'generator': /Mambo/i } },