mirror of
https://github.com/pi-hole/web.git
synced 2026-02-15 07:25:39 +00:00
Moved more private files out of the root directory
This commit is contained in:
2
api.php
2
api.php
@@ -5,7 +5,7 @@
|
||||
|
||||
check_cors();
|
||||
|
||||
include('data.php');
|
||||
include('scripts/pi-hole/php/data.php');
|
||||
header('Content-type: application/json');
|
||||
|
||||
$data = array();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require "header.php";
|
||||
require "scripts/pi-hole/php/header.php";
|
||||
?>
|
||||
<!-- Title -->
|
||||
<div class="page-header">
|
||||
@@ -20,7 +20,7 @@
|
||||
<pre id="output" style="width: 100%; height: 100%;" hidden="true"></pre>
|
||||
|
||||
<?php
|
||||
require "footer.php";
|
||||
require "scripts/pi-hole/php/footer.php";
|
||||
?>
|
||||
|
||||
|
||||
|
||||
4
help.php
4
help.php
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require "header.php";
|
||||
require "scripts/pi-hole/php/header.php";
|
||||
|
||||
if(strlen($pwhash) > 0)
|
||||
{
|
||||
@@ -146,7 +146,7 @@
|
||||
</div>
|
||||
|
||||
<?php
|
||||
require "footer.php";
|
||||
require "scripts/pi-hole/php/footer.php";
|
||||
?>
|
||||
|
||||
<script src="scripts/pi-hole/js/help.js"></script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
$indexpage = true;
|
||||
require "header.php";
|
||||
require "scripts/pi-hole/php/header.php";
|
||||
?>
|
||||
<!-- Small boxes (Stat box) -->
|
||||
<div class="row">
|
||||
@@ -213,7 +213,7 @@ else
|
||||
<!-- /.row -->
|
||||
<?php } ?>
|
||||
<?php
|
||||
require "footer.php";
|
||||
require "scripts/pi-hole/php/footer.php";
|
||||
?>
|
||||
|
||||
<script src="scripts/pi-hole/js/index.js"></script>
|
||||
|
||||
4
list.php
4
list.php
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require "header.php";
|
||||
require "scripts/pi-hole/php/header.php";
|
||||
|
||||
$list = $_GET['l'];
|
||||
|
||||
@@ -52,7 +52,7 @@ function getFullName() {
|
||||
<ul class="list-group" id="list"></ul>
|
||||
|
||||
<?php
|
||||
require "footer.php";
|
||||
require "scripts/pi-hole/php/footer.php";
|
||||
?>
|
||||
|
||||
<script src="scripts/pi-hole/js/list.js"></script>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require "header.php";
|
||||
require "scripts/pi-hole/php/header.php";
|
||||
|
||||
// Generate CSRF token
|
||||
if(empty($_SESSION['token'])) {
|
||||
@@ -97,7 +97,7 @@ if(isset($setupVars["API_QUERY_LOG_SHOW"]))
|
||||
<!-- /.row -->
|
||||
|
||||
<?php
|
||||
require "footer.php";
|
||||
require "scripts/pi-hole/php/footer.php";
|
||||
?>
|
||||
|
||||
<script src="scripts/pi-hole/js/queries.js"></script>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require "header.php";
|
||||
require "scripts/pi-hole/php/header.php";
|
||||
?>
|
||||
<!-- Title -->
|
||||
<div class="page-header">
|
||||
@@ -18,7 +18,7 @@
|
||||
<pre id="output" style="width: 100%; height: 100%;" hidden="true"></pre>
|
||||
|
||||
<?php
|
||||
require "footer.php";
|
||||
require "scripts/pi-hole/php/footer.php";
|
||||
?>
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require "header.php";
|
||||
require "scripts/pi-hole/php/header.php";
|
||||
require "scripts/pi-hole/php/savesettings.php";
|
||||
// Reread ini file as things might have been changed
|
||||
$setupVars = parse_ini_file("/etc/pihole/setupVars.conf");
|
||||
@@ -501,7 +501,7 @@
|
||||
</div>
|
||||
|
||||
<?php
|
||||
require "footer.php";
|
||||
require "scripts/pi-hole/php/footer.php";
|
||||
?>
|
||||
<script src="scripts/vendor/jquery.inputmask.js"></script>
|
||||
<script src="scripts/vendor/jquery.inputmask.extensions.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user