1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-11-25 18:42:16 -05:00
pi-hole/advanced
Jacob Salmela 57282cfe16 ugly hack to whitelist from the Web interface
I wanted the whitelist feature to keep the user on the same page
without having to reload it.  I'm sure someone better versed in PHP
could eliminate the need for this hack.  Nonetheless, it works.

www-data runs the script if executed from the Web interface.  www-data
also needs access to write to /etc/pihole/gravity.list to actually
remove the domain.  So a few more things need to happen before this
will fully work.

The changes in this script won't change what is displayed if run from
the terminal, but will help when it needs to be run from the Web
interface, so I am just committing this now.

The only other thing I would like to see would be a progress spinner,
but my Web skills still need some work...
2015-12-09 15:16:34 -06:00
..
GIFs Multiple gif files to choose from 2015-06-06 23:29:54 -05:00
Scripts ugly hack to whitelist from the Web interface 2015-12-09 15:16:34 -06:00
dnsmasq.conf log-async 2015-12-05 14:14:34 -06:00
dphys-swapfile swap file to eliminate memory allocation error 2015-08-24 16:30:00 -05:00
index.html preparing files for merge and for testing automated install 2015-06-16 11:15:15 -05:00
lighttpd.conf for use with logstalgia 2015-12-01 16:04:07 -06:00
pihole.cron for use with /etc/crontab 2015-11-07 07:58:35 -06:00