Adjust blocking page paths from admin restructure

This commit is contained in:
Mcat12 2016-12-30 15:36:53 -05:00
parent 1a3bdbaabf
commit 7bcc15e416

View file

@ -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) {