From 5fa047214a1cd11bcd5bdcb9fdde3ad1684778b6 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Thu, 23 Jan 2020 08:25:10 +0100 Subject: [PATCH] Browscap --- debian/changelog | 2 +- debian/install | 1 + debian/postinst | 1 + package.json | 2 +- php.ini | 3 +++ 5 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 php.ini diff --git a/debian/changelog b/debian/changelog index cf588865..f4f5ae39 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.406.96) stable; urgency=low +hedera-web (1.406.97) stable; urgency=low * Initial Release. diff --git a/debian/install b/debian/install index dd509c6b..73c3e9c8 100644 --- a/debian/install +++ b/debian/install @@ -1,5 +1,6 @@ apache.conf etc/hedera-web config.php etc/hedera-web +php.ini etc/php/7.0/apache2/conf.d web usr/share/php/vn doc/* usr/share/doc/hedera-web hedera-web.php usr/share/hedera-web diff --git a/debian/postinst b/debian/postinst index 7861ffb2..b611d5d9 100755 --- a/debian/postinst +++ b/debian/postinst @@ -3,6 +3,7 @@ set -e (cd /usr/share/hedera-web && npm install --production) +/usr/share/hedera-web/utils/update-browscap.sh > /dev/null if [ -e /usr/share/apache2/apache2-maintscript-helper ] then diff --git a/package.json b/package.json index f8419bff..eb815151 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.406.96", + "version": "1.406.97", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/php.ini b/php.ini new file mode 100644 index 00000000..9104d37e --- /dev/null +++ b/php.ini @@ -0,0 +1,3 @@ +[browscap] +; http://php.net/browscap +browscap = "/etc/php/lite_php_browscap.ini"