mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 12:40:56 +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!"
|
||||
fi
|
||||
|
||||
if [ -f "/var/www/html/pihole/index.css" ]; then
|
||||
echo "::: Existing index.css detected, not overwriting"
|
||||
if [ -f "/var/www/html/admin/blockingpage.css" ]; then
|
||||
echo "::: Existing blockingpage.css detected, not overwriting"
|
||||
else
|
||||
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!"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user