From ee88d8e7851f0c8e32ad16ca6bfe5359bd391606 Mon Sep 17 00:00:00 2001
From: Graham Cole <chckens@sucs.org>
Date: Wed, 28 May 2008 20:57:09 +0000
Subject: [PATCH] allow the punbb installer to  generate valid markup

---
 components/forum.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/forum.php b/components/forum.php
index 5a63e52..c920ab1 100644
--- a/components/forum.php
+++ b/components/forum.php
@@ -46,8 +46,8 @@ $page = ob_get_contents();
 ob_clean();
 chdir($oldcwd);
 
-// if this is for syndication purposes, we don't want a template 
-if ($punbb_file == "extern.php") {
+// if this is for syndication purposes or the punbb installer, we don't want a template 
+if ($punbb_file == "extern.php" || $punbb_file == "install.php") {
 	$no_template = TRUE;
 	echo $page;	
 } else {
-- 
GitLab