Index: branches/5.1.x/core/kernel/utility/factory.php
===================================================================
diff -u -r12127 -r12657
--- branches/5.1.x/core/kernel/utility/factory.php (.../factory.php) (revision 12127)
+++ branches/5.1.x/core/kernel/utility/factory.php (.../factory.php) (revision 12657)
@@ -1,6 +1,6 @@
Application->isDebugMode() && constOn('DBG_FACTORY')) {
+ if (defined('DEBUG_MODE') && defined('DBG_FACTORY') && DBG_FACTORY && $this->Application->isDebugMode()) {
global $debugger;
+
$debugger->appendHTML('Creating object: Pseudo class: '.$pseudo_class.' Prefix: '.$name);
$debugger->appendTrace();
}
@@ -158,7 +161,7 @@
return $false;
}
- if ($this->Application->isDebugMode() && constOn('DBG_FACTORY')) {
+ if (defined('DEBUG_MODE') && defined('DBG_FACTORY') && DBG_FACTORY && $this->Application->isDebugMode()) {
global $debugger;
$debugger->appendHTML('Creating object: Pseudo class: '.$pseudo_class.' Prefix: '.$name);
$debugger->appendTrace();
@@ -324,6 +327,5 @@
$dependencies[] = $this->realClasses[$class_name];
}
}
- }
-?>
\ No newline at end of file
+ }
\ No newline at end of file