mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-23 07:18:07 +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:
commit
1f9b0f7cef
@ -87,8 +87,8 @@ if($uri == "/")
|
|||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<footer>Generated <?php echo date('D g:i A, M d'); ?> by Pi-hole <?php echo $piHoleVersion; ?></footer>
|
<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/scripts/vendor/jquery.min.js"></script>
|
||||||
<script src="http://pi.hole/admin/js/pihole/queryads.js"></script>
|
<script src="http://pi.hole/admin/scripts/pi-hole/js/queryads.js"></script>
|
||||||
<script>
|
<script>
|
||||||
function inIframe () {
|
function inIframe () {
|
||||||
try {
|
try {
|
||||||
@ -123,7 +123,7 @@ function add() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "admin/php/add.php",
|
url: "admin/scripts/pi-hole/php/add.php",
|
||||||
method: "post",
|
method: "post",
|
||||||
data: {"domain":domain.val(), "list":"white", "pw":pw.val()},
|
data: {"domain":domain.val(), "list":"white", "pw":pw.val()},
|
||||||
success: function(response) {
|
success: function(response) {
|
||||||
|
Loading…
Reference in New Issue
Block a user