From 5e35fdbc523b317f6cff9abe95a045fbba6c9cbe Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Fri, 30 Dec 2016 14:42:15 -0500 Subject: [PATCH] Save blocking page CSS to pihole directory instead of admin --- advanced/index.php | 2 +- automated install/basic-install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/advanced/index.php b/advanced/index.php index 67d09a37..eb7eb029 100644 --- a/advanced/index.php +++ b/advanced/index.php @@ -51,7 +51,7 @@ if($uri == "/") Website Blocked - + diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index cef7b7f0..271cc436 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -794,11 +794,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