1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Merge pull request #1061 from pi-hole/fix/blockpage-whitelist-path

Adjust blocking page paths from admin restructure
This commit is contained in:
Mcat12 2016-12-30 15:43:39 -05:00 committed by GitHub
commit 1f9b0f7cef

View File

@ -87,8 +87,8 @@ if($uri == "/")
</div>
</main>
<footer>Generated <?php echo date('D g:i A, M d'); ?> by Pi-hole <?php echo $piHoleVersion; ?></footer>
<script src="http://pi.hole/admin/js/other/jquery.min.js"></script>
<script src="http://pi.hole/admin/js/pihole/queryads.js"></script>
<script src="http://pi.hole/admin/scripts/vendor/jquery.min.js"></script>
<script src="http://pi.hole/admin/scripts/pi-hole/js/queryads.js"></script>
<script>
function inIframe () {
try {
@ -123,7 +123,7 @@ function add() {
}
$.ajax({
url: "admin/php/add.php",
url: "admin/scripts/pi-hole/php/add.php",
method: "post",
data: {"domain":domain.val(), "list":"white", "pw":pw.val()},
success: function(response) {