projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc161f
)
Check for $GLOBALS['conf'] AND $GLOBALS['injector']
author
Chuck Hagenbuch
<chuck@horde.org>
Sat, 15 Jan 2011 04:29:49 +0000
(23:29 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Sat, 15 Jan 2011 04:29:49 +0000
(23:29 -0500)
framework/Core/lib/Horde.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde.php
b/framework/Core/lib/Horde.php
index
cec702b
..
d331226
100644
(file)
--- a/
framework/Core/lib/Horde.php
+++ b/
framework/Core/lib/Horde.php
@@
-88,7
+88,7
@@
class Horde
{
/* Chicken/egg: wait until we have basic framework setup before we
* start logging. */
- if (isset($GLOBALS['conf'])) {
+ if (isset($GLOBALS['conf'])
&& isset($GLOBALS['injector'])
) {
$options['trace'] = 2;
$GLOBALS['injector']->getInstance('Horde_Log_Logger')->log($event, $priority, $options);
}