Permalink
Browse files

Put the doctypes after the php always (for

consistency and headers)
  • Loading branch information...
1 parent 2a50ae7 commit f9567435a0a5b981dc1b4e4adaea2c31d0e28ade @myobie committed Oct 7, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 admin/login.php
  2. +1 −1 archive.php
  3. +1 −1 post.php
View
@@ -1,9 +1,9 @@
-<!doctype html>
<?php
require_once("../lib/db.php");
?>
+<!doctype html>
<html>
<head>
<title>Login - The Blog</title>
View
@@ -1,4 +1,3 @@
-<!doctype html>
<?php
require_once("lib/db.php");
@@ -14,6 +13,7 @@ function comments_count($post_id) {
}
?>
+<!doctype html>
<html>
<head>
<title>The Blog</title>
View
@@ -1,4 +1,3 @@
-<!doctype html>
<?php
require_once("lib/db.php");
@@ -14,6 +13,7 @@ function comments_result($post_id) {
}
?>
+<!doctype html>
<html>
<head>
<title><?php echo $post["title"] ?> - The Blog</title>

0 comments on commit f956743

Please sign in to comment.