projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfc567c
)
Operator: Fix Registry#pushApp() call
author
Ben Klang
<ben@alkaloid.net>
Wed, 13 Jan 2010 15:12:06 +0000
(10:12 -0500)
committer
Ben Klang
<ben@alkaloid.net>
Wed, 13 Jan 2010 15:14:30 +0000
(10:14 -0500)
operator/lib/Application.php
patch
|
blob
|
history
diff --git
a/operator/lib/Application.php
b/operator/lib/Application.php
index
c686f96
..
1e9b232
100644
(file)
--- a/
operator/lib/Application.php
+++ b/
operator/lib/Application.php
@@
-39,12
+39,13
@@
class Operator_Application extends Horde_Registry_Application
public function __construct($args = array())
{
if (!empty($args['init'])) {
+
// Registry.
$GLOBALS['registry'] = Horde_Registry::singleton();
$registry = &$GLOBALS['registry'];
try {
- $registry->pushApp('operator'
, !defined('AUTH_HANDLER')
);
+ $registry->pushApp('operator');
} catch (Horde_Exception $e) {
if ($e->getCode() == 'permission_denied') {
Horde::authenticationFailureRedirect();