Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 433)
+++ trunk/CHANGELOG	(revision 434)
@@ -33,6 +33,8 @@
 #	Fixed form modul stores empty records
 ------------------------------------- 2.6.6 -------------------------------------
 16-Feb-2007 Christian Sommer
+!	Suppressed PHP warnings and errors when reading empty intro.php
+16-Feb-2007 Christian Sommer
 #	Applied fix to enable parsing of PHP code in the intro.php 
 30-Jan-2007 Ryan Djurovich
 #	Applied fix for ticket #376
Index: trunk/wb/framework/class.frontend.php
===================================================================
--- trunk/wb/framework/class.frontend.php	(revision 433)
+++ trunk/wb/framework/class.frontend.php	(revision 434)
@@ -68,9 +68,9 @@
 			// Get intro page content
 			$filename = WB_PATH.PAGES_DIRECTORY.'/intro.php';
 			if(file_exists($filename)) {
-				$handle = fopen($filename, "r");
-				$content = fread($handle, filesize($filename));
-				fclose($handle);
+				$handle = @fopen($filename, "r");
+				$content = @fread($handle, filesize($filename));
+				@fclose($handle);
 				$this->preprocess($content);
 	      header("Location: pages/intro.php");   // send intro.php as header to allow parsing of php statements
 				echo ($content);
