Merge pull request #1057 from pi-hole/new/whitelistonblockingpage

Allow whitelisting from blocking page
This commit is contained in:
DL6ER 2016-12-30 21:07:34 +01:00 committed by GitHub
commit 1a3bdbaabf
3 changed files with 92 additions and 30 deletions

View file

@ -798,11 +798,11 @@ installPiholeWeb() {
echo " done!"
fi
if [ -f "/var/www/html/admin/blockingpage.css" ]; then
if [ -f "/var/www/html/pihole/blockingpage.css" ]; then
echo "::: Existing blockingpage.css detected, not overwriting"
else
echo -n "::: index.css missing, replacing... "
cp /etc/.pihole/advanced/blockingpage.css /var/www/html/admin
cp /etc/.pihole/advanced/blockingpage.css /var/www/html/pihole
echo " done!"
fi