Index: branches/2.8.x/wb/framework/module.functions.php
===================================================================
--- branches/2.8.x/wb/framework/module.functions.php	(revision 1495)
+++ branches/2.8.x/wb/framework/module.functions.php	(revision 1496)
@@ -31,8 +31,11 @@
 	NOTE: Some functions were added for module developers to make the creation of own module easier
 */
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 
 /*
 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Index: branches/2.8.x/wb/framework/SecureForm.mtab.php
===================================================================
--- branches/2.8.x/wb/framework/SecureForm.mtab.php	(revision 1495)
+++ branches/2.8.x/wb/framework/SecureForm.mtab.php	(revision 1496)
@@ -45,6 +45,11 @@
  * how many blocks of the IP should be used in fingerprint 0=no ipcheck, possible values 0-4
  * define ('FINGERPRINT_WITH_IP_OCTETS',2);
  */
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 
 class SecureForm {
 
Index: branches/2.8.x/wb/framework/class.admin.php
===================================================================
--- branches/2.8.x/wb/framework/class.admin.php	(revision 1495)
+++ branches/2.8.x/wb/framework/class.admin.php	(revision 1496)
@@ -16,9 +16,11 @@
  *
  */
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
-
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 require_once(WB_PATH.'/framework/class.wb.php');
 
 // Get WB version
Index: branches/2.8.x/wb/framework/functions-utf8.php
===================================================================
--- branches/2.8.x/wb/framework/functions-utf8.php	(revision 1495)
+++ branches/2.8.x/wb/framework/functions-utf8.php	(revision 1496)
@@ -43,9 +43,11 @@
 //   entities_to_umlauts2()
 //   umlauts_to_entities2()
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
-
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 /*
  * check for mb_string support
  */
Index: branches/2.8.x/wb/framework/DseTwo.php
===================================================================
--- branches/2.8.x/wb/framework/DseTwo.php	(revision 1495)
+++ branches/2.8.x/wb/framework/DseTwo.php	(revision 1496)
@@ -13,6 +13,11 @@
  *                  this is a authorisised GPL-lizensed derivate from the original
  *                  ISTeasy class DseOne which is available under a cc-by-sa-3.0 license
 */
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 
 class DseTwo {
 
Index: branches/2.8.x/wb/framework/class.wbmailer.php
===================================================================
--- branches/2.8.x/wb/framework/class.wbmailer.php	(revision 1495)
+++ branches/2.8.x/wb/framework/class.wbmailer.php	(revision 1496)
@@ -23,9 +23,11 @@
 
 */
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
-
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 // Include PHPMailer class
 require_once(WB_PATH."/include/phpmailer/class.phpmailer.php");
 
Index: branches/2.8.x/wb/framework/class.database.php
===================================================================
--- branches/2.8.x/wb/framework/class.database.php	(revision 1495)
+++ branches/2.8.x/wb/framework/class.database.php	(revision 1496)
@@ -25,9 +25,11 @@
 
 */
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
-
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 if(!defined('DB_URL')) {
 	//define('DB_URL', DB_TYPE.'://'.DB_USERNAME.':'.DB_PASSWORD.'@'.DB_HOST.'/'.DB_NAME);
 }
Index: branches/2.8.x/wb/framework/functions.php
===================================================================
--- branches/2.8.x/wb/framework/functions.php	(revision 1495)
+++ branches/2.8.x/wb/framework/functions.php	(revision 1496)
@@ -16,9 +16,11 @@
  *
 */
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
-
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 // Define that this file has been loaded
 define('FUNCTIONS_FILE_LOADED', true);
 
Index: branches/2.8.x/wb/framework/SecureForm.php
===================================================================
--- branches/2.8.x/wb/framework/SecureForm.php	(revision 1495)
+++ branches/2.8.x/wb/framework/SecureForm.php	(revision 1496)
@@ -16,6 +16,11 @@
  * @lastmodified    $Date$
  * @description     
  */
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 
 class SecureForm {
 
Index: branches/2.8.x/wb/framework/class.login.php
===================================================================
--- branches/2.8.x/wb/framework/class.login.php	(revision 1495)
+++ branches/2.8.x/wb/framework/class.login.php	(revision 1496)
@@ -16,9 +16,11 @@
  *
  */
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
-
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 define('LOGIN_CLASS_LOADED', true);
 
 // Load the other required class files if they are not already loaded
Index: branches/2.8.x/wb/framework/class.wb.php
===================================================================
--- branches/2.8.x/wb/framework/class.wb.php	(revision 1495)
+++ branches/2.8.x/wb/framework/class.wb.php	(revision 1496)
@@ -16,8 +16,11 @@
  *
  */
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 // Include PHPLIB template class
 require_once(WB_PATH."/include/phplib/template.inc");
 
Index: branches/2.8.x/wb/framework/class.order.php
===================================================================
--- branches/2.8.x/wb/framework/class.order.php	(revision 1495)
+++ branches/2.8.x/wb/framework/class.order.php	(revision 1496)
@@ -15,8 +15,11 @@
 /*******************************************************************************
  * abstract factory for application
  */
-// Must include code to stop this file being access directly
-	if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 	define('ORDERING_CLASS_LOADED', true);
 // Load the other required class files if they are not already loaded
 	require_once(WB_PATH."/framework/class.database.php");
Index: branches/2.8.x/wb/framework/addon.precheck.inc.php
===================================================================
--- branches/2.8.x/wb/framework/addon.precheck.inc.php	(revision 1495)
+++ branches/2.8.x/wb/framework/addon.precheck.inc.php	(revision 1496)
@@ -16,9 +16,11 @@
  *
  */
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
-
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 function getVersion($version, $strip_suffix = true)
 {
 	/**
Index: branches/2.8.x/wb/framework/class.frontend.php
===================================================================
--- branches/2.8.x/wb/framework/class.frontend.php	(revision 1495)
+++ branches/2.8.x/wb/framework/class.frontend.php	(revision 1496)
@@ -16,9 +16,11 @@
  *
 */
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
-
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 require_once(WB_PATH.'/framework/class.wb.php');
 //require_once(WB_PATH.'/framework/SecureForm.php');
 
Index: branches/2.8.x/wb/framework/charsets_table.php
===================================================================
--- branches/2.8.x/wb/framework/charsets_table.php	(revision 1495)
+++ branches/2.8.x/wb/framework/charsets_table.php	(revision 1496)
@@ -23,9 +23,11 @@
 
 */
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
-
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 global $iso_8859_2_to_utf8;
 $iso_8859_2_to_utf8 = array(
 	"\x80"=>"\xc2\x80","\x81"=>"\xc2\x81","\x82"=>"\xc2\x82","\x83"=>"\xc2\x83","\x84"=>"\xc2\x84","\x85"=>"\xc2\x85","\x86"=>"\xc2\x86","\x87"=>"\xc2\x87",
Index: branches/2.8.x/wb/framework/frontend.functions.php
===================================================================
--- branches/2.8.x/wb/framework/frontend.functions.php	(revision 1495)
+++ branches/2.8.x/wb/framework/frontend.functions.php	(revision 1496)
@@ -16,9 +16,11 @@
  *
 */
 
-// Must include code to stop this file being access directly
-if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
-
+/* -------------------------------------------------------- */
+// Must include code to stop this file being accessed directly
+require_once('globalExceptionHandler.php');
+if(!defined('WB_PATH')) { throw new IllegalFileException(); }
+/* -------------------------------------------------------- */
 // compatibility mode for versions before 2.8.1
 	$admin            = $wb;
 	$default_link     = $wb->default_link;
Index: branches/2.8.x/wb/framework
===================================================================
--- branches/2.8.x/wb/framework	(revision 1495)
+++ branches/2.8.x/wb/framework	(revision 1496)

Property changes on: branches/2.8.x/wb/framework
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+SecFormNt.php
