Integrated list managment with admin site

- Made favicon work across pages
- No longer needs root access to tee command, still needs root access for gravity.sh and whitelist.sh
- Added call to gravity.sh when you remove an item
- Moved header and footer into separate files
- Moved files from list into the main folder
- Got rid of extra dependencies from the old list setup
- Added home button to sidebar
- Renamed original whitelist to "Old Whitelist"
- Added buttons to sidebar for Whitelist and Blacklist
This commit is contained in:
Mcat12
2016-01-13 20:34:43 -05:00
parent f79a4a8ebc
commit 3f3ebef42f
252 changed files with 276 additions and 42142 deletions

5
php/sub.php Normal file
View File

@@ -0,0 +1,5 @@
<?php
if(!isset($_GET['domain'], $_GET['list']))
return;
exec("ex +g/${_GET['domain']}/d -cwq /etc/pihole/${_GET['list']}list.txt");