Reduce search pattern size and complexity
This commit is contained in:
parent
aac93cd6f8
commit
aee35549f5
|
@ -77,8 +77,8 @@ sed -i 's/readonly //g' /opt/pihole/webpage.sh
|
|||
if [[ "$IMAGE" == 'alpine' ]] ; then
|
||||
cp /etc/.pihole/advanced/pihole.cron /etc/crontabs/pihole
|
||||
|
||||
# Fix hostname bug on block page
|
||||
sed -i "s/\(\$_SERVER\['SERVER_NAME'\]\)/\(\$_SERVER\['HTTP_HOST'\]\)/" /var/www/html/pihole/index.php
|
||||
# Fix hostname bug on block page
|
||||
sed -i "s/\$_SERVER\['SERVER_NAME'\]/\$_SERVER\['HTTP_HOST'\]/" /var/www/html/pihole/index.php
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue