Moved <!DOCTYPE html> to enable setting of headers

This commit is contained in:
Maurice Meyer 2017-07-20 16:18:32 +02:00
parent 6aa5ea61df
commit 39dd3f86c6

View file

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