From 96b41badbc46c224e3acefaf839cca59f79084fa Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 17 Dec 2006 01:33:36 +0000 Subject: [PATCH] Include files without error suppression when in debug mode in BSRegister::LoadModule() --- Register.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Register.php b/Register.php index fedb8ad..77d17c5 100644 --- a/Register.php +++ b/Register.php @@ -364,7 +364,14 @@ class BSRegister */ public static function LoadModule($name) { - @include_once("ISSO/$name.php"); + if (BSRegister::GetDebug()) + { + include_once("ISSO/$name.php"); + } + else + { + @include_once("ISSO/$name.php"); + } $class = "BS$name"; -- 2.43.5