From 51ecff7a285a7c451a93ac535c14ae3f8b615a6c Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 25 Dec 2006 23:36:43 +0000 Subject: [PATCH] In BSRegister::RequiredModules(), because some classes are static, also check to make sure that the class isn't defined so that they aren't ignored in the checking --- Register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Register.php b/Register.php index f81c14e..965126a 100644 --- a/Register.php +++ b/Register.php @@ -581,7 +581,7 @@ class BSRegister { foreach ($modules AS $module) { - if (self::GetType($module) == null) + if (self::GetType($module) == null AND !class_exists("BS$module")) { trigger_error('The ' . $module . ' is required in order to use this framework module'); } -- 2.43.5