diff --git a/docs/www/blog/generatearticle.php b/docs/www/blog/generatearticle.php index 294aaaf..e1f30cc 100644 --- a/docs/www/blog/generatearticle.php +++ b/docs/www/blog/generatearticle.php @@ -183,8 +183,6 @@ $blogPost = load_blog($conn, $blogId); // If blogpost could not be retieved, display warning and die. if(!$blogPost) { header($_SERVER["SERVER_PROTOCOL"]." 404 Not Foud", true, 404); - //include_once($_SERVER["DOCUMENT_ROOT"]."/errors/404.php"); - //include_once($COMMONS."/footer.php"); die(); } @@ -235,60 +233,4 @@ include_once(\"%s\"); $blogPost->address, addslashes($blogPost->display_comments()), $COMMONS."/footer.php"); - -/* -// Display the header with title being the blog name -display_header($blogPost->title); - -// Display the blog -$blogPost->display_article(); -printf("