1
0
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:
DL6ER 2016-12-05 10:50:19 +01:00
parent e7241a989c
commit a866c4e388
2 changed files with 3 additions and 3 deletions

View File

@ -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