mirror of
https://github.com/loewexy/pdnsmanager.git
synced 2025-01-16 03:02:22 +01:00
Moved <!DOCTYPE html> to enable setting of headers
This commit is contained in:
parent
6aa5ea61df
commit
39dd3f86c6
1 changed files with 10 additions and 10 deletions
20
index.php
20
index.php
|
@ -1,3 +1,13 @@
|
||||||
|
<?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: upgrade.php");
|
||||||
|
}
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
Copyright 2016 Lukas Metzger <developer@lukas-metzger.com>.
|
||||||
|
@ -14,16 +24,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: upgrade.php");
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PDNS Manager</title>
|
<title>PDNS Manager</title>
|
||||||
|
|
Loading…
Reference in a new issue