diff --git a/VERSION b/VERSION index 398d0da..ff3b2cd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.5.11 +2.5.10 diff --git a/web/ipk/postinst b/web/ipk/postinst index 191af22..1b73746 100755 --- a/web/ipk/postinst +++ b/web/ipk/postinst @@ -1,7 +1,7 @@ #!/bin/sh /opt/etc/init.d/S80lighttpd start -/opt/etc/init.d/S80lighttpd reload +/opt/etc/init.d/S80lighttpd reconfigure ip_addr=$(ip -f inet addr show dev br0 2>/dev/null | grep inet | sed -n 's/.*inet \([0-9.]\+\).*/\1/p') echo "NFQWS Web Interface installed: http://$ip_addr:90" diff --git a/web/share/www/nfqws/index.php b/web/share/www/nfqws/index.php index 82309eb..43dfa6e 100644 --- a/web/share/www/nfqws/index.php +++ b/web/share/www/nfqws/index.php @@ -2,7 +2,7 @@ ini_set('memory_limit', '32M'); -define('ROOT_DIR', file_exists('/opt/etc/nfqws.conf') ? '/opt' : ''); +define('ROOT_DIR', file_exists('/opt/etc/nfqws/nfqws.conf') ? '/opt' : ''); define('SCRIPT_NAME', ROOT_DIR ? 'S51nfqws' : 'nfqws-keenetic'); function normalizeString(string $s): string {