Moved headers to the top to fix #29
This commit is contained in:
parent
b1a06a8684
commit
f238b7edaa
|
@ -1,3 +1,7 @@
|
||||||
|
<?php
|
||||||
|
require_once 'lib/headers.php';
|
||||||
|
require_once 'lib/session.php';
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
||||||
|
@ -11,10 +15,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<?php
|
|
||||||
require_once 'lib/headers.php';
|
|
||||||
require_once 'lib/session.php';
|
|
||||||
?>
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PDNS Manager - Domains</title>
|
<title>PDNS Manager - Domains</title>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
<?php
|
||||||
|
require_once 'lib/headers.php';
|
||||||
|
require_once 'lib/session.php';
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
||||||
|
@ -11,10 +15,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<?php
|
|
||||||
require_once 'lib/headers.php';
|
|
||||||
require_once 'lib/session.php';
|
|
||||||
?>
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PDNS Manager - Domains</title>
|
<title>PDNS Manager - Domains</title>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
<?php
|
||||||
|
require_once 'lib/headers.php';
|
||||||
|
require_once 'lib/session.php';
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
||||||
|
@ -11,10 +15,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<?php
|
|
||||||
require_once 'lib/headers.php';
|
|
||||||
require_once 'lib/session.php';
|
|
||||||
?>
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PDNS Manager - Domains</title>
|
<title>PDNS Manager - Domains</title>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
<?php
|
||||||
|
require_once 'lib/headers.php';
|
||||||
|
require_once 'lib/session.php';
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
||||||
|
@ -11,10 +15,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<?php
|
|
||||||
require_once 'lib/headers.php';
|
|
||||||
require_once 'lib/session.php';
|
|
||||||
?>
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PDNS Manager - Remotes</title>
|
<title>PDNS Manager - Remotes</title>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
<?php
|
||||||
|
require_once 'lib/headers.php';
|
||||||
|
require_once 'lib/session.php';
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
||||||
|
@ -11,10 +15,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<?php
|
|
||||||
require_once 'lib/headers.php';
|
|
||||||
require_once 'lib/session.php';
|
|
||||||
?>
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PDNS Manager - Users</title>
|
<title>PDNS Manager - Users</title>
|
||||||
|
|
12
install.php
12
install.php
|
@ -1,3 +1,9 @@
|
||||||
|
<?php
|
||||||
|
require_once 'lib/headers.php';
|
||||||
|
if(file_exists("config/config-user.php")) {
|
||||||
|
Header("Location: index.php");
|
||||||
|
}
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
||||||
|
@ -11,12 +17,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<?php
|
|
||||||
require_once 'lib/headers.php';
|
|
||||||
if(file_exists("config/config-user.php")) {
|
|
||||||
Header("Location: index.php");
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PDNS Manager - Domains</title>
|
<title>PDNS Manager - Domains</title>
|
||||||
|
|
12
logout.php
12
logout.php
|
@ -1,3 +1,9 @@
|
||||||
|
<?php
|
||||||
|
require_once 'lib/headers.php';
|
||||||
|
require_once 'lib/session.php';
|
||||||
|
session_destroy();
|
||||||
|
setcookie("authSecret", "", 1, "/", "", false, true);
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
||||||
|
@ -11,12 +17,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<?php
|
|
||||||
require_once 'lib/headers.php';
|
|
||||||
require_once 'lib/session.php';
|
|
||||||
session_destroy();
|
|
||||||
setcookie("authSecret", "", 1, "/", "", false, true);
|
|
||||||
?>
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PDNS Manager</title>
|
<title>PDNS Manager</title>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
<?php
|
||||||
|
require_once 'lib/headers.php';
|
||||||
|
require_once 'lib/session.php';
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
||||||
|
@ -11,10 +15,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<?php
|
|
||||||
require_once 'lib/headers.php';
|
|
||||||
require_once 'lib/session.php';
|
|
||||||
?>
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PDNS Manager - Password</title>
|
<title>PDNS Manager - Password</title>
|
||||||
|
|
18
upgrade.php
18
upgrade.php
|
@ -1,3 +1,12 @@
|
||||||
|
<?php
|
||||||
|
require_once 'lib/headers.php';
|
||||||
|
require_once 'config/config-default.php';
|
||||||
|
require_once 'lib/database.php';
|
||||||
|
require_once 'lib/checkversion.php';
|
||||||
|
if(checkVersion($db)) {
|
||||||
|
Header("Location: index.php");
|
||||||
|
}
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
||||||
|
@ -11,15 +20,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<?php
|
|
||||||
require_once 'lib/headers.php';
|
|
||||||
require_once 'config/config-default.php';
|
|
||||||
require_once 'lib/database.php';
|
|
||||||
require_once 'lib/checkversion.php';
|
|
||||||
if(checkVersion($db)) {
|
|
||||||
Header("Location: index.php");
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PDNS Manager - Upgrade</title>
|
<title>PDNS Manager - Upgrade</title>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
<?php
|
||||||
|
require_once 'lib/headers.php';
|
||||||
|
require_once 'lib/session.php';
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
||||||
|
@ -11,10 +15,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<?php
|
|
||||||
require_once 'lib/headers.php';
|
|
||||||
require_once 'lib/session.php';
|
|
||||||
?>
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PDNS Manager - Users</title>
|
<title>PDNS Manager - Users</title>
|
||||||
|
|
Loading…
Reference in a new issue