mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 04:30:55 +00:00
Place blockingpage.css (former index.css) unter admin/ so we can load it also from some blocked sub-directories
This commit is contained in:
parent
e7241a989c
commit
a866c4e388
@ -842,11 +842,11 @@ installPiholeWeb() {
|
|||||||
echo " done!"
|
echo " done!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "/var/www/html/pihole/index.css" ]; then
|
if [ -f "/var/www/html/admin/blockingpage.css" ]; then
|
||||||
echo "::: Existing index.css detected, not overwriting"
|
echo "::: Existing blockingpage.css detected, not overwriting"
|
||||||
else
|
else
|
||||||
echo -n "::: index.css missing, replacing... "
|
echo -n "::: index.css missing, replacing... "
|
||||||
cp /etc/.pihole/advanced/index.css /var/www/html/pihole/
|
cp /etc/.pihole/advanced/blockingpage.css /var/www/html/admin
|
||||||
echo " done!"
|
echo " done!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user